Class component a easily way to convert your SQL condition to a JSONArray or JSONString. Default database is running in firebird. To change only modify GenericQuery.Model.Connection uses.
Implement this parameters:
GenericQuery.Model.Connection.FServer := 'localhost';
GenericQuery.Model.Connection.FDataBase := '../../db/db';
GenericQuery.Model.Connection.FTypeConnection := SQLite;
Compatible with Firebird and SQLite.
Execute command returns a boolean value.
TGenericQuery
.New
.SQL('')
.SQL('')
.Execute
Open a Array of JSON Objects with fields data
TGenericQuery
.New
.SQL('')
.SQL('')
.OpenArray
Open a JSON Object with only first register of sql
TGenericQuery
.New
.SQL('')
.SQL('')
.OpenObject