`WHERE IN (...)` support
See original GitHub issueFrom the docs:
Multiple objects passed to
.whereare joined withor.
sq.from`person`.where({ name: 'Rob' }, { name: 'Bob' }).query
{ text: 'select * from person where (name = $1 or name = $2)',
args: ['Rob', 'Bob'] }
Any reason we couldn’t join the objects with IN (?, ?) notation?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Google Help
Your account. Can't access your account? Recent transactions with Google · Help Communities. Learn more about. Google's Product Experts Program · Status dashboard....
Read more >Access SQL: WHERE clause
In a SQL statement, the WHERE clause specifies criteria that field values must meet for the records that contain the values to be...
Read more >Official Apple Support
Get up to date information about your Apple products in one place including repairs, tech support cases, and much more. Sign in to...
Read more >How to Contact Google Support for Help With Any Issue
Google has a customer service number you can call, though it's largely automated. Google Support tutorials and Community help forums provide ...
Read more >Contact Support
Contact Support. Log in to your Shopify account to get support for a store. Log in. I don't have an account. Troubleshooting. Reset...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yep, I’m definitely going with 2. The current plan is to provide an expression builder.
I’m currently debating whether to provide a fluent interface or an expression tree interface.
I’m probably going with 2.
A little bit behind schedule, and with MANY breaking API changes, but I ended up implementing a much more ambitious proposal: a functional, strongly typed expression builder.
See https://sqorn.org/docs/expressions.html.
Switch to package ‘@sqorn/pg’ v0.0.45. See the updated tutorial setup: https://sqorn.org/docs/setup.html