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,193 of 197,134
Downloads: 285

Daily

Ranking: 77,554 of 197,107
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,430,104,300rake
291,026,084,732rspec
37846,769,880activerecord
55755,185,128rubocop
98506,448,091simplecov
110476,142,715pg
182299,328,060rubocop-rspec
403135,191,209database_cleaner-active_record
2,17412,595,048simplecov-console

Owners

#GravatarHandle
1iconaiman-abutalaah