Module: Sequel::Cubrid::DatasetMethods

Included in:
Dataset
Defined in:
lib/sequel/adapters/shared/cubrid.rb

Constant Summary collapse

COMMA =
Sequel::Dataset::COMMA
LIMIT =
Sequel::Dataset::LIMIT
BOOL_FALSE =
'0'.freeze
BOOL_TRUE =
'1'.freeze
ONLY_OFFSET =

Hope you don’t have more than 2**32 + offset rows in your dataset

",4294967295".freeze

Instance Method Summary collapse

Instance Method Details

#supports_join_using?Boolean

Returns:

  • (Boolean)


182
183
184
# File 'lib/sequel/adapters/shared/cubrid.rb', line 182

def supports_join_using?
  false
end

#supports_multiple_column_in?Boolean

Returns:

  • (Boolean)


186
187
188
# File 'lib/sequel/adapters/shared/cubrid.rb', line 186

def supports_multiple_column_in?
  false
end

#supports_timestamp_usecs?Boolean

Returns:

  • (Boolean)


190
191
192
# File 'lib/sequel/adapters/shared/cubrid.rb', line 190

def supports_timestamp_usecs?
  false
end

#truncateObject

CUBRID supposedly supports TRUNCATE, but it appears not to work in my testing. Fallback to using DELETE.



196
197
198
199
# File 'lib/sequel/adapters/shared/cubrid.rb', line 196

def truncate
  delete
  nil
end