Back to FabImage Library website
You are here: Start » Function Reference » All Functions » SQLite » SQLite_Query
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Queries the SQLite database.
Syntax
void fil::SQLite_Query ( const ftl::File& inFile, const ftl::String& inQuery, bool inIncludeColumnTitles, ftl::Array<ftl::Array<ftl::String>>& outData )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inFile | const File& | Path to an SQLite database file. | |
![]() |
inQuery | const String& | SQL Query. | |
![]() |
inIncludeColumnTitles | bool | Whether or not to include column names in the output data. | |
![]() |
outData | Array<Array<String>>& | Data read as strings. |
Remarks
SQL database driver software
This filter is intended to cooperate with SQLite database files.
Database file
inFile field should be a path to a database file. The file will be created if it doesn't exist.
Errors
List of possible exceptions:
Error type | Description |
---|---|
RuntimeError | Not implemented |
See Also
- SQLite_Read – Reads a value from the SQLite database.
- SQLite_Write – Writes a value to the SQLite database.