Class Sequel::SQL::SQLArray
In: lib/sequel/sql.rb
Parent: Expression

Represents an SQL array. Added so it is possible to deal with a ruby array of all two pairs as an SQL array instead of an ordered hash-like conditions specifier.

Methods

new  

Attributes

array  [R]  The array of objects this SQLArray wraps

Public Class methods

Create an object with the given array.

[Source]

     # File lib/sequel/sql.rb, line 787
787:       def initialize(array)
788:         @array = array
789:       end

[Validate]