Class: Sequel::SQL::ValueList

Inherits:
Array show all
Defined in:
lib/sequel/sql.rb

Overview

Represents an SQL value list (IN/NOT IN predicate value). Added so it is possible to deal with a ruby array of two element arrays as an SQL value list instead of an ordered hash-like conditions specifier.

Instance Method Summary collapse

Methods inherited from Array

#case, #pg_array, #pg_json, #pg_jsonb, #pg_row, #sql_expr, #sql_negate, #sql_or, #sql_string_join, #sql_value_list, #~

Instance Method Details

#inspectObject

Show that this is a value list and not just an array



1840
1841
1842
# File 'lib/sequel/sql.rb', line 1840

def inspect
  "#<#{self.class} #{super}>"
end