GoodDB
Preparing search index...
Drivers/PostgreSQL
PostgreSQLDriver
Class PostgreSQLDriver
Implements
DriversClassType
Index
Constructors
constructor
Properties
options
Methods
close
create
Table
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
insert
set
Row
By
Key
tables
Constructors
constructor
new
PostgreSQLDriver
(
options
:
PoolConfig
)
:
PostgreSQLDriver
Parameters
options
:
PoolConfig
Returns
PostgreSQLDriver
Properties
Readonly
options
options
:
PoolConfig
Methods
close
close
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
create
Table
createTable
(
table
:
string
)
:
Promise
<
boolean
>
Parameters
table
:
string
Returns
Promise
<
boolean
>
delete
All
Rows
deleteAllRows
(
table
:
string
)
:
Promise
<
boolean
>
Parameters
table
:
string
Returns
Promise
<
boolean
>
delete
Row
By
Key
deleteRowByKey
(
table
:
string
,
key
:
string
)
:
Promise
<
number
|
null
>
Parameters
table
:
string
key
:
string
Returns
Promise
<
number
|
null
>
get
All
Rows
getAllRows
(
table
:
string
)
:
Promise
<
any
>
Parameters
table
:
string
Returns
Promise
<
any
>
get
Row
By
Key
getRowByKey
(
table
:
string
,
key
:
string
)
:
Promise
<
any
>
Parameters
table
:
string
key
:
string
Returns
Promise
<
any
>
init
init
(
table
:
string
)
:
Promise
<
boolean
>
Parameters
table
:
string
Returns
Promise
<
boolean
>
insert
insert
(
table
:
string
,
value
:
any
[]
)
:
Promise
<
boolean
>
Parameters
table
:
string
value
:
any
[]
Returns
Promise
<
boolean
>
set
Row
By
Key
setRowByKey
(
table
:
string
,
key
:
string
,
value
:
any
)
:
Promise
<
boolean
>
Parameters
table
:
string
key
:
string
value
:
any
Returns
Promise
<
boolean
>
tables
tables
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
options
Methods
close
create
Table
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
insert
set
Row
By
Key
tables
GoodDB
Loading...