Comandante/SQLite
An add-on for Comandante to simplify working with sqlite
.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
comandante-sqlite:
github: tghaleb/comandante-sqlite
- Run
shards install
Usage
require "comandante-sqlite"
This is actually a wrapper around sqlite.
To setup a database,
db = SQLite.new(path_to_db)
db.create_table(TBL_SQL)
db.close