Open
Description
Inspired from the Ruby sqlite gem, here is an improvement I would like to see in the Crystal shard syntax :
Being able to create a new database object, allowing usage everywhere in the code, as opposed to only in the 'do' block. Also would allow for usage of several databases at once.
db = SQLite3::Database.new 'database.db'
You would then be able to run db.exec, db.query on this object.
Metadata
Metadata
Assignees
Labels
No labels