Preparing search index...
The search index is not available
quick.db
quick.db
MemoryDriver
Class MemoryDriver
Hierarchy
MemoryDriver
JSONDriver
Implements
IDriver
Index
Constructors
constructor
Properties
store
Methods
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Or
Create
Table
get
Row
By
Key
prepare
set
Row
By
Key
Constructors
constructor
new
Memory
Driver
(
)
:
MemoryDriver
Returns
MemoryDriver
Properties
store
store
:
Map
<
string
,
Table
>
= ...
Methods
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
Or
Create
Table
get
Or
Create
Table
(
name
:
string
)
:
Table
Parameters
name:
string
Returns
Table
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
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
quick.db
Memory
Driver
constructor
store
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Or
Create
Table
get
Row
By
Key
prepare
set
Row
By
Key
Generated using
TypeDoc