Preparing search index...
The search index is not available
quick.db
quick.db
SqliteDriver
Class SqliteDriver
Hierarchy
SqliteDriver
Implements
IDriver
Index
Constructors
constructor
Properties
_database
instance
Accessors
database
Methods
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
prepare
set
Row
By
Key
create
Singleton
Constructors
constructor
new
Sqlite
Driver
(
path
:
string
)
:
SqliteDriver
Parameters
path:
string
Returns
SqliteDriver
Properties
Private
Readonly
_database
_database
:
Database
Static
Private
instance
instance
:
null
|
SqliteDriver
= null
Accessors
database
get
database
(
)
:
Database
Returns
Database
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
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
(
path
:
string
)
:
SqliteDriver
Parameters
path:
string
Returns
SqliteDriver
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
quick.db
Sqlite
Driver
constructor
_database
instance
database
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
prepare
set
Row
By
Key
create
Singleton
Generated using
TypeDoc