Preparing search index...
The search index is not available
st.db
st.db
PostgresDriver
Class PostgresDriver
Hierarchy
PostgresDriver
Index
Constructors
constructor
Properties
_client
config
table
Name
Methods
all
clear
connect
delete
disconnect
get
has
initialize
Table
set
Constructors
constructor
new
Postgres
Driver
(
config
,
tableName
?
)
:
PostgresDriver
Parameters
config
:
any
tableName
:
string
= "main"
Returns
PostgresDriver
Properties
Private
_client
_client
:
null
|
Client
= null
Private
config
config
:
any
Private
table
Name
table
Name
:
string
= "main"
Methods
all
all
(
)
:
Promise
<
{
ID
:
string
;
data
:
ElementValue
;
}
[]
>
Returns
Promise
<
{
ID
:
string
;
data
:
ElementValue
;
}
[]
>
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
connect
connect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
delete
(
key
)
:
Promise
<
void
>
Parameters
key
:
string
Returns
Promise
<
void
>
disconnect
disconnect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
get
(
key
)
:
Promise
<
undefined
|
ElementValue
>
Parameters
key
:
string
Returns
Promise
<
undefined
|
ElementValue
>
has
has
(
key
)
:
Promise
<
boolean
>
Parameters
key
:
string
Returns
Promise
<
boolean
>
Private
initialize
Table
initialize
Table
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
set
(
key
,
value
)
:
Promise
<
undefined
|
ElementValue
>
Parameters
key
:
string
value
:
ElementValue
Returns
Promise
<
undefined
|
ElementValue
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_client
config
table
Name
all
clear
connect
delete
disconnect
get
has
initialize
Table
set
st.db
Cache
Driver
Database
Firebase
Driver
JSONDriver
Mongo
Driver
MySQLDriver
Postgres
Driver
SQLDriver
Table
XMLDriver
YAMLDriver
Discord Support Server