Methods

Class Index [+]

Quicksearch

Sequel::SQL::SubscriptMethods

This module includes the sql_subscript method, representing SQL array accesses.

Public Instance Methods

sql_subscript(*sub) click to toggle source

Return a Subscript with the given arguments, representing an SQL array access.

  :array.sql_subscript(1) # array[1]
  :array.sql_subscript(1, 2) # array[1, 2]
  :array.sql_subscript([1, 2]) # array[1, 2]
     # File lib/sequel/sql.rb, line 827
827:       def sql_subscript(*sub)
828:         Subscript.new(self, sub.flatten)
829:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.