-
Notifications
You must be signed in to change notification settings - Fork 6
Types
Eugene Kabanov edited this page Jun 29, 2016
·
2 revisions
apgConnection* = ref object of RootRef
apgConnection object represents connection to PostgreSQL server.
apgResult* = ref object of RootRef
apgResult object represents result's dataset of executed SQL query.
apgPool* = ref object of RootRef
apgPool object represents pool of connections to PostgreSQL server
apgNotify* = object
channel*: string # channel name
payload*: string # payload data
bepid*: int # PID of PostgreSQL's worker process
apgNotify object represents PostgreSQL's asynchronous notify (Asynchronous notification).
Row* = seq[string]
Row object represents row of a dataset.
JsonB* = distinct JsonNode
JsonB object represents PostgreSQL's jsonb type. This type can be used to represent Nim's JsonNode object as PostgreSQL's jsonb type in SQL query.
Json* = distinct JsonNode
Json object represents PostgreSQL's json type. This type can be used to represent Nim's JsonNode object as PostgreSQL's json type in SQL query.