Database object
The Database object represents a SQLite database
| Property | Description | Access | Type |
|---|---|---|---|
| Database.file | Get the Database file on disk | readonly |
| Methods | Description | Return value |
|---|---|---|
| Database:close() | Close the Database | - |
| Database:constructor() | Database object constuctor | |
| Database:exec() | Execute a SQL query | table number nil |
| Database:query() | Execute a SQL query and returns an iterator | function |