Type:
Class
Constants:
NATIVE_DATABASE_TYPES : { primary_key: 'INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL', string: { name: "varchar", limit: 255 }, text: { name: "text" }, integer: { name: "integer" }, float: { name: "float" }, decimal: { name: "decimal" }, datetime: { name: "datetime" }, timestamp: { name: "datetime" }, time: { name: "time" }, date: { name: "date" }, binary: { name: "blob" }, boolean: { name: "boolean" } }

The SQLite3 adapter works SQLite 3.6.16 or newer with the sqlite3-ruby drivers (available as gem from rubygems.org/gems/sqlite3).

Options:

  • :database - Path to the database file.

encoding

encoding() Instance Public methods Returns the current database encoding format

2015-06-20 00:00:00
supports_savepoints?

supports_savepoints?() Instance Public methods

2015-06-20 00:00:00
quote

quote(value, column = nil) Instance Public methods QUOTING ================

2015-06-20 00:00:00
supports_partial_index?

supports_partial_index?() Instance Public methods

2015-06-20 00:00:00
table_structure

table_structure(table_name) Instance Protected methods

2015-06-20 00:00:00
supports_add_column?

supports_add_column?() Instance Public methods

2015-06-20 00:00:00
translate_exception

translate_exception(exception, message) Instance Protected methods

2015-06-20 00:00:00
exec_delete

exec_delete(sql, name = 'SQL', binds = []) Instance Public methods Also aliased

2015-06-20 00:00:00
select_rows

select_rows(sql, name = nil, binds = []) Instance Public methods

2015-06-20 00:00:00
last_inserted_id

last_inserted_id(result) Instance Public methods

2015-06-20 00:00:00