Back to FabImage Library website
You are here: Start » Function Reference » All Functions » SQLite » SQLite_Read
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 |
Reads a value from the SQLite database.
Syntax
void fil::SQLite_Read ( const ftl::File& inFile, const ftl::String& inTableName, const ftl::String& inColumnName, const ftl::String& inQueriedColumn, const ftl::String& inQueryValue, bool inIncludeColumnTitles, ftl::Array<ftl::Array<ftl::String>>& outReadData )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inFile | const File& | Path to an SQLite database file. | |
![]() |
inTableName | const String& | Name of the table to access. | |
![]() |
inColumnName | const String& | Which column will be checked. | |
![]() |
inQueriedColumn | const String& | Column name to compare. | |
![]() |
inQueryValue | const String& | Value to compare. | |
![]() |
inIncludeColumnTitles | bool | Whether or not to include column names in the output data. | |
![]() |
outReadData | 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_Write – Writes a value to the SQLite database.