class SQLite3::Connection

Defined in:

sqlite3/connection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(database) #

[View source]

Class Method Detail

def self.filename(uri : URI) #

[View source]

Instance Method Detail

def build_prepared_statement(query) : Statement #
Description copied from class DB::Connection

:nodoc:


[View source]
def build_unprepared_statement(query) : Statement #
Description copied from class DB::Connection

:nodoc:


[View source]
def do_close #
Description copied from module DB::Disposable

Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.


[View source]
def dump(to : SQLite3::Connection) #

Dump the database to another SQLite3 database. This can be used for backing up a SQLite3 Database to disk or the opposite


[View source]
def enable_extension_load(onoff : Bool) #

Enable or disable the loading of dynamic extensions in the current SQLite3 Connection


[View source]
def load_extension(filename : String) #

Load a dynamic extension from file in the current SQLite3 Connection


[View source]
def to_unsafe : LibSQLite3::SQLite3 #

[View source]