Members
-
agency
-
Description
The RightTrackAgency this DB is used to query
Returns
Details
-
id
-
Description
The Right Track Agency id code
Returns
Details
-
location
-
Description
The path to the SQLite Right Track DB
Returns
Details
Methods
-
<abstract> select( statement, callback )
-
Description
Select multiple rows from the database
Parameters
Name Type Description statement
string Select Statement
callback
function selectCallback callback function
Details
-
<abstract> get( statement, callback )
-
Description
Select a single row from the database. If no results are selected, this will return undefined. If more than 1 results are selected it will return the first result.
Parameters
Name Type Description statement
string Select Statement
callback
function getCallback callback function
Details
Type Definitions
-
selectCallback( error [, rows ] )
-
Description
This callback is performed after performing a SELECT query that can return multiple rows.
Parameters
Name Type Attributes Description error
Error Database Query Error
rows
Array.<object> <optional> Selected rows
Details
-
getCallback( error [, row ] )
-
Description
This callback is performed after performing a SELECT query that will return the first row.
Parameters
Name Type Attributes Description error
Error Database Query Error
row
object <optional> First selected row
Details