module Sequel::Firebird::DatasetMethods

  1. lib/sequel/adapters/shared/firebird.rb
Parent: Firebird

Constants

BOOL_FALSE = '0'.freeze  
BOOL_TRUE = '1'.freeze  
DEFAULT_FROM = " FROM RDB$DATABASE"  
FIRST = " FIRST ".freeze  
INSERT_CLAUSE_METHODS = Dataset.clause_methods(:insert, %w'insert into columns values returning')  
NULL = LiteralString.new('NULL').freeze  
SELECT_CLAUSE_METHODS = Dataset.clause_methods(:select, %w'with select distinct limit columns from join where group having compounds order')  
SKIP = " SKIP ".freeze  

Public Instance methods

insert (*values)

Insert given values into the database.

[show source]
# File lib/sequel/adapters/shared/firebird.rb, line 162
def insert(*values)
  if @opts[:sql] || @opts[:returning]
    super
  else
    returning(insert_pk).insert(*values){|r| return r.values.first}
  end
end
insert_select (*values)

Insert a record returning the record inserted

[show source]
# File lib/sequel/adapters/shared/firebird.rb, line 171
def insert_select(*values)
  returning.insert(*values){|r| return r}
end
requires_sql_standard_datetimes? ()
[show source]
# File lib/sequel/adapters/shared/firebird.rb, line 175
def requires_sql_standard_datetimes?
  true
end
supports_insert_select? ()
[show source]
# File lib/sequel/adapters/shared/firebird.rb, line 179
def supports_insert_select?
  true
end
supports_intersect_except? ()

Firebird does not support INTERSECT or EXCEPT

[show source]
# File lib/sequel/adapters/shared/firebird.rb, line 184
def supports_intersect_except?
  false
end