Categories: None [Edit]

pg_any_where

https://rubygems.org/gems/pg_any_where
https://github.com/aimanabutalaah/pg_any_where
pg_any_where patches Arel so that `where(column: array)` emits `column = ANY($1::type[])` instead of `column IN ($1, $2, …)`. This yields a stable prepared-statement shape (one bind parameter regardless of array size), better PostgreSQL plan cache utilisation, and cleaner pg_stat_statements output. Empty arrays are handled correctly without the `1=0` / `1=1` footguns.

Total

Ranking: 194,039 of 195,396
Downloads: 256

Daily

Ranking: 43,647 of 195,377
Downloads: 6

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,373,526,136rake
291,001,466,235rspec
36815,231,558activerecord
56721,777,862rubocop
97485,891,407simplecov
110458,121,425pg
183285,122,242rubocop-rspec
408128,109,586database_cleaner-active_record
2,17912,035,462simplecov-console

Owners

#GravatarHandle
1iconaiman-abutalaah