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)


184
185
186
# File 'lib/sequel/adapters/shared/cubrid.rb', line 184

def supports_join_using?
  false
end

#supports_multiple_column_in?Boolean

Returns:

  • (Boolean)


188
189
190
# File 'lib/sequel/adapters/shared/cubrid.rb', line 188

def supports_multiple_column_in?
  false
end

#supports_timestamp_usecs?Boolean

Returns:

  • (Boolean)


192
193
194
# File 'lib/sequel/adapters/shared/cubrid.rb', line 192

def supports_timestamp_usecs?
  false
end

#truncateObject

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



198
199
200
201
# File 'lib/sequel/adapters/shared/cubrid.rb', line 198

def truncate
  delete
  nil
end