created by let rdb = dbOpen(PostgreSQL, "localhost", 5432)created by rdb.select("columnName") or rdb.table("tableName")
Types
PostgresConnection = object conn*: PPGconn isBusy*: bool createdAt*: int64
PostgresConnections = ref object log*: LogSetting pools*: seq[PostgresConnection] timeout*: int isInTransaction*: bool transactionConn*: int
PostgreSQL = object
PostgresQuery = ref object log*: LogSetting pools*: seq[PostgresConnection] timeout*: int query*: JsonNode queryString*: string placeHolder*: JsonNode isInTransaction*: bool transactionConn*: int
RawPostgresQuery = ref object log*: LogSetting pools*: seq[PostgresConnection] timeout*: int query*: JsonNode queryString*: string placeHolder*: JsonNode isInTransaction*: bool transactionConn*: int
Procs
proc `$`(self: PostgresConnections): string {....raises: [], tags: [].}