Method: Sequel::Dataset#array_sql

Defined in:
lib/sequel_core/dataset/sql.rb

#array_sql(a) ⇒ Object

SQL fragment for the SQL array.



32
33
34
# File 'lib/sequel_core/dataset/sql.rb', line 32

def array_sql(a)
  a.empty? ? '(NULL)' : "(#{expression_list(a)})"     
end