auraphp / Aura.SqlQuery

Independent query builders for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.
MIT License
450 stars 86 forks source link

Support inline array for condition #162

Closed syrm closed 2 years ago

syrm commented 6 years ago

With this PR you can inline array : ->where('user_id IN (?)', [[1, 2, 3]]) Or like this : ->where('user_id IN (:ids)', ['ids' => [1, 2, 3]])

jimbo8098 commented 4 years ago

Would be great to see this added in, looks good to me!

koriym commented 2 years ago

I've prepared a refactored PR for this in https://github.com/auraphp/Aura.SqlQuery/pull/198.

harikt commented 2 years ago

Hey @koriym ,

Can we merge this PR and make the necessary changes on the other?

The other one looks like the commit is not getting the correct user.

harikt commented 2 years ago

Thank you @syrm . I am sorry that this PR waited so long.