I know how to connect to a database in the current file directory:
db = SQLite3::Database.new 'Data.db'
My question is how do I create a new database in the current file directory?
bonus question: what do the two colons means?
I know how to connect to a database in the current file directory:
db = SQLite3::Database.new 'Data.db'
My question is how do I create a new database in the current file directory?
bonus question: what do the two colons means?
The file gets created if it doesn't exist.
Bonus:
SQLite3::Database
points toSQLite3
module'sDatabase
submodule or subclass.