onyxframework / sql

A delightful SQL ORM ☺️
https://api.onyxframework.com/sql
MIT License
91 stars 7 forks source link

`Query#wherish(clause, params)` should also accept `Enumerable(DB::Any)` #86

Closed vladfaust closed 5 years ago

vladfaust commented 5 years ago

Use-case:

Model::User.where("id IN (#{ary.join(',') { '?' }})", ary)