Module | Sequel::Postgres::PGArray::DatabaseMethods |
In: |
lib/sequel/extensions/pg_array.rb
|
APOS | = | "'".freeze |
DOUBLE_APOS | = | "''".freeze |
ESCAPE_RE | = | /("|\\)/.freeze |
ESCAPE_REPLACEMENT | = | '\\\\\1'.freeze |
BLOB_RANGE | = | 1...-1 |
Handle arrays in bound variables
# File lib/sequel/extensions/pg_array.rb, line 209 209: def bound_variable_arg(arg, conn) 210: case arg 211: when PGArray 212: bound_variable_array(arg.to_a) 213: when Array 214: bound_variable_array(arg) 215: else 216: super 217: end 218: end