Module: Sequel::Cubrid::DatasetMethods

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

Constant Summary collapse

SELECT_CLAUSE_METHODS =
Sequel::Dataset.clause_methods(:select, %w'select distinct columns from join where group having compounds order limit')
LIMIT =
Sequel::Dataset::LIMIT
COMMA =
Sequel::Dataset::COMMA
BOOL_FALSE =
'0'.freeze
BOOL_TRUE =
'1'.freeze

Instance Method Summary collapse

Instance Method Details

#supports_join_using?Boolean

Returns:

  • (Boolean)


174
175
176
# File 'lib/sequel/adapters/shared/cubrid.rb', line 174

def supports_join_using?
  false
end

#supports_multiple_column_in?Boolean

Returns:

  • (Boolean)


178
179
180
# File 'lib/sequel/adapters/shared/cubrid.rb', line 178

def supports_multiple_column_in?
  false
end

#supports_timestamp_usecs?Boolean

Returns:

  • (Boolean)


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

def supports_timestamp_usecs?
  false
end

#truncateObject

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



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

def truncate
  delete
  nil
end