Method: Sequel::SqlAnywhere::DatasetMethods#convert_smallint_to_bool

Defined in:
lib/sequel/adapters/shared/sqlanywhere.rb

#convert_smallint_to_boolObject

Whether to convert smallint to boolean arguments for this dataset. Defaults to the IBMDB module setting.



250
251
252
# File 'lib/sequel/adapters/shared/sqlanywhere.rb', line 250

def convert_smallint_to_bool
  opts.has_key?(:convert_smallint_to_bool) ? opts[:convert_smallint_to_bool] : db.convert_smallint_to_bool
end