Class/Module Index [+]

Quicksearch

Sequel::Access::DatabaseMethods

Public Instance Methods

database_type() click to toggle source

Access uses type :access as the database_type

# File lib/sequel/adapters/shared/access.rb, line 5
def database_type
  :access
end
serial_primary_key_options() click to toggle source

Access uses type Counter for an autoincrementing keys

# File lib/sequel/adapters/shared/access.rb, line 15
def serial_primary_key_options
  {:primary_key => true, :type=>:Counter}
end
tables() click to toggle source

Doesn't work, due to security restrictions on MSysObjects

# File lib/sequel/adapters/shared/access.rb, line 10
def tables
  from(:MSysObjects).filter(:Type=>1, :Flags=>0).select_map(:Name).map{|x| x.to_sym}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.