Sequel::SQL::GenericExpression
Represents an SQL array access, with multiple possible arguments.
The SQL array column
The array of subscripts to use (should be an array of numbers)
Set the array column and subscripts to the given arguments
# File lib/sequel/sql.rb, line 872 def initialize(f, sub) @f, @sub = f, sub end
Create a new subscript appending the given subscript(s) the the current array of subscripts.
# File lib/sequel/sql.rb, line 878 def |(sub) Subscript.new(@f, @sub + Array(sub)) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.