class Comandante::SQLite

Defined in:

comandante/sqlite.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(file = "") #

Will automatically close db on exit or finalize.


[View source]

Instance Method Detail

def close #

[View source]
def create_table(tbl_sql) #

Creates a table from given SQL


[View source]
def db : DB::Database #

[View source]
def file : String #

[View source]
def finalize #

[View source]
def reset_db(file = "") #

Will close current db and open a new with given file name


[View source]