Opens and creates the database, if desired.
A destructor is present on this object, but not explicitly documented in the source.
Actually implements the query for the database. The query() method below might be easier to use.
Escapes data for inclusion into an sql string literal
Escapes binary data for inclusion into a sql string. Note that unlike escape, the returned string here SHOULD include the quotes.
query to start a transaction, only here because sqlite is apparently different in syntax...
Just executes a query. It supports placeholders for parameters
turns a systime into a value understandable by the target database as a timestamp to be concated into a query. so it should be quoted and escaped etc as necessary