struct SQLite3::Connection::Options

Defined in:

sqlite3/connection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(filename : String = ":memory:", busy_timeout : String | Nil = nil, cache_size : String | Nil = nil, foreign_keys : String | Nil = nil, journal_mode : String | Nil = nil, synchronous : String | Nil = nil, wal_autocheckpoint : String | Nil = nil) #

[View source]

Class Method Detail

def self.from_uri(uri : URI, default = Options.new) #

[View source]

Instance Method Detail

def busy_timeout : String | Nil #

def cache_size : String | Nil #

def clone #

[View source]
def copy_with(filename _filename = @filename, busy_timeout _busy_timeout = @busy_timeout, cache_size _cache_size = @cache_size, foreign_keys _foreign_keys = @foreign_keys, journal_mode _journal_mode = @journal_mode, synchronous _synchronous = @synchronous, wal_autocheckpoint _wal_autocheckpoint = @wal_autocheckpoint) #

[View source]
def filename : String #

def foreign_keys : String | Nil #

def journal_mode : String | Nil #

def pragma_statement #

[View source]
def synchronous : String | Nil #

def wal_autocheckpoint : String | Nil #