Skip to content

Instantly share code, notes, and snippets.

@TTomas
TTomas / PostgreSQLHttpRest.lpr
Created May 7, 2022 18:01
PostgreSQL + SQLite3 + FirebirdSQL + mORMot Server/Client
program PostgreSQLHttpRest;
{$define BatchAdd}
{$I mormot.defines.inc}
uses
{$I mormot.uses.inc}
sysutils,
classes,
// Part of source code on eof
IBX Time0 = 31.13ms 8.35ms 9.86ms 8.19ms 8.34ms
IBX Time1 = 120.69ms 109.61ms 106.19ms 106.40ms 106.54ms
IBX Time2 = 1.13s 1.92s 811.44ms 2.09s 827.45ms
IBX Time3 = 5.35ms 13.48ms 5.33ms 14.50ms 6.64ms
IBX Time4 = 2.65ms 6.93ms 2.78ms 7.56ms 3.11ms
IBX Time5 = 4.43ms 11.53ms 5.27ms 12.84ms 5.07ms
IBX Time6 = 2.44ms 7.09ms 2.81ms 7.59ms 3.04ms
IBX Time7 = 3.22ms 7.86ms 3.78ms 8.57ms 3.64ms
IBX Time8 = 4.86ms 13.19ms 6.70ms 14.51ms 6.40ms
@TTomas
TTomas / mormot.db.sql.ibx.pas
Created September 14, 2021 00:33
mORMot2 IBX/FB Pascal API Connection
/// Database Framework IBX/FB Pascal API Connection
// - this unit is a part of the Open Source Synopse mORMot framework 2,
// licensed under a MPL/GPL/LGPL three license - see LICENSE.md
unit mormot.db.sql.ibx;
{
*****************************************************************************
Efficient FirebirdSQL Database Connection using the FB Pascal API layer
part of IBX2 Firebird database library