Preparing search index...
The search index is not available
st.db
st.db
MySQLDriver
Class MySQLDriver
Hierarchy
MySQLDriver
Index
Constructors
constructor
Properties
_connection
config
table
Name
Methods
all
clear
connect
delete
disconnect
get
has
initialize
Table
set
Constructors
constructor
new
MySQLDriver
(
config
,
tableName
?
)
:
MySQLDriver
Parameters
config
:
ConnectionOptions
tableName
:
string
= "main"
Returns
MySQLDriver
Properties
Private
_connection
_connection
:
null
|
Connection
= null
Private
config
config
:
ConnectionOptions
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
_connection
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