Catalog · How the catalog works
GenericQuery
- ★ 5 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
GenericQuery
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.
How to use
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
Execute command returns a boolean value.
TGenericQuery
.New
.SQL('')
.SQL('')
.ExecuteOpenArray
Open a Array of JSON Objects with fields data
TGenericQuery
.New
.SQL('')
.SQL('')
.OpenArrayOpenObject
Open a JSON Object with only first register of sql
TGenericQuery
.New
.SQL('')
.SQL('')
.OpenObject
