Method: Cequel::Metal::Updater#list_prepend
- Defined in:
- lib/cequel/metal/updater.rb
#list_prepend(column, elements) ⇒ void
This method returns an undefined value.
Prepend elements to a list column
47 48 49 50 |
# File 'lib/cequel/metal/updater.rb', line 47 def list_prepend(column, elements) statements << "#{column} = [?] + #{column}" bind_vars << elements end |