Simple PostgreSQL Client

 

Simple PostgreSQL client based on libpq.

miyako/4d-plugin-simple-postgres-client-v2

status:=PQ EXECUTE (connect;sql{;params{;format}})
Parameter
Type
Description
connect
TEXT
conninfo for PQconnectdb()
sql
TEXT
command for PQexecParams
params
COLLECTION
parameters for PQexecParams
format
LONGINT
see below
status
OBJECT

Format

Property Type Description
PQ_RESULT_TEXT LONGINT 0
PQ_RESULT_BINARY LONGINT 1

resultFormat passed to PQexecParams().