Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Database Drivers > Postgres DB Driver
Headers
Macros - postgres.hrl
-define(POSTGRES, postgres). -define(POSTGRES_SERVICE_RESULT(TaskID, Type, Data), {?POSTGRES, TaskID, Type, Data}). -define(POSTGRES_SERVICE_ERROR(TaskID, Data), ?POSTGRES_SERVICE_RESULT(TaskID, error, Data)).
Records - postgres.hrl
-record(postgres_database, { % Database identifier id :: atom(), % Parameters params :: list(any()) }).