medly / medly/norm

Support for `IN` in query

Open
#138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
19
Forks
21
PR merge metrics
No merged PRs in 30d

Description

For example, I've a query like

SELECT * FROM something WHERE someone IN (val1, val2, so on...)

For making query for norm, It'll be like

SELECT * FROM something WHERE someone IN (:values)

If such query is compiled using the norm, it just takes only one argument. I think it should take a vararg.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Locate the query compilation and parameter-binding entry points, then trace how :values is handled for a PostgreSQL IN clause. Done means a collection can supply the IN arguments and coverage verifies the compiled query and bindings.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, postgresql, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.