Preparing search index...
The search index is not available
st.db
st.db
SQLDriver
Class SQLDriver
Hierarchy
SQLDriver
Index
Constructors
constructor
Properties
_db
file_
exists
path
table
Name
Methods
all
clear
delete
get
has
initialize
Table
set
Constructors
constructor
new SQLDriver
(
path
?
,
tableName
?
,
path_resolve
?
)
:
SQLDriver
Parameters
path
:
string
= "data"
tableName
:
string
= "main"
path_resolve
:
boolean
= true
Returns
SQLDriver
Properties
Private
Readonly
_db
_db
:
Database
Readonly
file_
exists
file_
exists
:
boolean
Readonly
path
path
:
string
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
>
delete
delete
(
key
)
:
Promise
<
void
>
Parameters
key
:
string
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
(
)
:
void
Returns
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
_db
file_
exists
path
table
Name
all
clear
delete
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