Method: Sequel::Postgres::ArrayOp#remove
- Defined in:
- lib/sequel/extensions/pg_array_ops.rb
permalink #remove(element) ⇒ Object
Remove the given element from the array:
array_op.remove(1) # array_remove(array, 1)
208 209 210 |
# File 'lib/sequel/extensions/pg_array_ops.rb', line 208 def remove(element) ArrayOp.new(function(:array_remove, element)) end |