Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » SQLite » SQLite_Read

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: avl
Module: FoundationLite

Reads a value from the SQLite database.

Syntax

void avl::SQLite_Read
(
	const atl::File& inFile,
	const atl::String& inTableName,
	const atl::String& inColumnName,
	const atl::String& inQueriedColumn,
	const atl::String& inQueryValue,
	bool inIncludeColumnTitles,
	atl::Array<atl::Array<atl::String>>& outReadData
)

Parameters

Name Type Default Description
Input value inFile const File& Path to an SQLite database file.
Input value inTableName const String& Name of the table to access.
Input value inColumnName const String& Which column will be checked.
Input value inQueriedColumn const String& Column name to compare.
Input value inQueryValue const String& Value to compare.
Input value inIncludeColumnTitles bool Whether or not to include column names in the output data.
Output value 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