Class DBI::DBD::SQLite::Statement
In: lib/dbd/sqlite/statement.rb
Parent: DBI::BaseStatement

Methods

bind_param   column_info   execute   fetch   finish   new   rows  

Constants

DBI_TYPE_MAP = [ [ /^INT(EGER)?$/i, DBI::SQL_INTEGER ], [ /^(OID|ROWID|_ROWID_)$/i, DBI::SQL_OTHER ], [ /^FLOAT$/i, DBI::SQL_FLOAT ], [ /^REAL$/i, DBI::SQL_REAL ], [ /^DOUBLE$/i, DBI::SQL_DOUBLE ], [ /^DECIMAL/i, DBI::SQL_DECIMAL ], [ /^(BOOL|BOOLEAN)$/i, DBI::SQL_BOOLEAN ], [ /^TIME$/i, DBI::SQL_TIME ], [ /^DATE$/i, DBI::SQL_DATE ], [ /^TIMESTAMP$/i, DBI::SQL_TIMESTAMP ], [ /^(VARCHAR|TEXT)/i, DBI::SQL_VARCHAR ], [ /^CHAR$/i, DBI::SQL_CHAR ], ]

External Aliases

cancel -> finish

Public Class methods

Public Instance methods

See DBI::BaseStatement#bind_param. This method will also raise DBI::InterfaceError if param is not a Fixnum, to prevent incorrect binding.

See DBI::BaseStatement#execute.

In the event AutoCommit is off and no transaction is currently executing, one will be opened at this point. It is your responsibility to finish, cancel, rollback, or commit.

[Validate]