Preparing search index...
The search index is not available
quick.db
quick.db
MySQLDriver
Class MySQLDriver
Hierarchy
MySQLDriver
Implements
IDriver
Index
Constructors
constructor
Properties
_mysql
config
conn?
instance
Accessors
mysql
Methods
check
Connection
connect
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
prepare
set
Row
By
Key
create
Singleton
Constructors
constructor
new
MySQLDriver
(
config
:
Config
)
:
MySQLDriver
Parameters
config:
Config
Returns
MySQLDriver
Properties
Private
Readonly
_mysql
_mysql
:
__module
Private
config
config
:
Config
Private
Optional
conn
conn
?:
Pool
Static
Private
instance
instance
:
MySQLDriver
Accessors
mysql
get
mysql
(
)
:
__module
Returns
__module
Methods
Private
check
Connection
check
Connection
(
)
:
void
Returns
void
connect
connect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
All
Rows
delete
All
Rows
(
table
:
string
)
:
Promise
<
number
>
Parameters
table:
string
Returns
Promise
<
number
>
delete
Row
By
Key
delete
Row
By
Key
(
table
:
string
, key
:
string
)
:
Promise
<
number
>
Parameters
table:
string
key:
string
Returns
Promise
<
number
>
get
All
Rows
get
All
Rows
(
table
:
string
)
:
Promise
<
{
id
:
string
;
value
:
any
;
}
[]
>
Parameters
table:
string
Returns
Promise
<
{
id
:
string
;
value
:
any
;
}
[]
>
get
Row
By
Key
get
Row
By
Key
<
T
>
(
table
:
string
, key
:
string
)
:
Promise
<
[
null
|
T
,
boolean
]
>
Type Parameters
T
Parameters
table:
string
key:
string
Returns
Promise
<
[
null
|
T
,
boolean
]
>
prepare
prepare
(
table
:
string
)
:
Promise
<
void
>
Parameters
table:
string
Returns
Promise
<
void
>
set
Row
By
Key
set
Row
By
Key
<
T
>
(
table
:
string
, key
:
string
, value
:
any
, update
:
boolean
)
:
Promise
<
T
>
Type Parameters
T
Parameters
table:
string
key:
string
value:
any
update:
boolean
Returns
Promise
<
T
>
Static
create
Singleton
create
Singleton
(
config
:
Config
)
:
MySQLDriver
Parameters
config:
Config
Returns
MySQLDriver
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
quick.db
MySQLDriver
constructor
_mysql
config
conn?
instance
mysql
check
Connection
connect
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
prepare
set
Row
By
Key
create
Singleton
Generated using
TypeDoc