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: 196,554 of 197,744
Downloads: 302

Daily

Ranking: 105,941 of 197,724
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,444,561,272rake
291,032,112,907rspec
37855,219,427activerecord
55763,949,454rubocop
97511,923,440simplecov
110481,357,989pg
181303,246,954rubocop-rspec
399137,047,696database_cleaner-active_record
2,17612,717,790simplecov-console

Owners

#GravatarHandle
1iconaiman-abutalaah