Skip to content

Commit

Permalink
add THighballDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
NishiOwO committed Feb 21, 2025
1 parent b55e0fd commit 8c7bda0
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions src/HighballDatabase.pp
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
unit HighballDatabase;

interface

implementation
uses
{$ifdef POSTGRES}
Postgres;
{$if defined(POSTGRES)}
Postgres,
PQConnection;
{$elseif defined(SQLITE)}
SQLite3,
SQLite3Conn;
{$endif}
{$ifdef SQLITE}
SQLite3;

type
{$if defined(POSTGRES)}
THighballDatabase = TPQConnection;
{$elseif defined(SQLITE)}
THighballDatabase = TSQLite3Connection;
{$endif}

implementation

end.

0 comments on commit 8c7bda0

Please sign in to comment.