module Sequel::Firebird::DatasetMethods

Constants

BOOL_FALSE
BOOL_TRUE
DEFAULT_FROM
FIRST
INSERT_CLAUSE_METHODS
NULL
SELECT_CLAUSE_METHODS
SKIP

Public Instance Methods

insert(*values) click to toggle source

Insert given values into the database.

# File lib/sequel/adapters/shared/firebird.rb, line 160
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) click to toggle source

Insert a record returning the record inserted

# File lib/sequel/adapters/shared/firebird.rb, line 169
def insert_select(*values)
  returning.insert(*values){|r| return r}
end
requires_sql_standard_datetimes?() click to toggle source
# File lib/sequel/adapters/shared/firebird.rb, line 173
def requires_sql_standard_datetimes?
  true
end
supports_insert_select?() click to toggle source
# File lib/sequel/adapters/shared/firebird.rb, line 177
def supports_insert_select?
  true
end
supports_intersect_except?() click to toggle source

Firebird does not support INTERSECT or EXCEPT

# File lib/sequel/adapters/shared/firebird.rb, line 182
def supports_intersect_except?
  false
end