GoodDB
Preparing search index...
Types
DriversClassType
Type Alias DriversClassType
type
DriversClassType
=
{
close
?
()
:
boolean
|
Promise
<
boolean
>
;
deleteAllRows
(
table
:
string
)
:
boolean
|
Promise
<
boolean
>
;
deleteRowByKey
(
table
:
string
,
key
:
string
)
:
number
|
Promise
<
number
|
null
>
;
getAllRows
(
table
:
string
)
:
any
;
getRowByKey
(
table
:
string
,
key
:
string
)
:
any
;
init
(
table
:
string
)
:
void
|
Promise
<
boolean
>
;
setRowByKey
(
table
:
string
,
key
:
string
,
value
:
any
,
)
:
boolean
|
Promise
<
boolean
>
;
tables
()
:
string
[]
|
Promise
<
string
[]
>
;
}
Implemented by
JSONDriver
MemoryDriver
MongoDBDriver
MySQLDriver
PostgreSQLDriver
SQLiteDriver
YMLDriver
Index
Methods
close?
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
set
Row
By
Key
tables
Methods
Optional
close
close
?
()
:
boolean
|
Promise
<
boolean
>
Returns
boolean
|
Promise
<
boolean
>
delete
All
Rows
deleteAllRows
(
table
:
string
)
:
boolean
|
Promise
<
boolean
>
Parameters
table
:
string
Returns
boolean
|
Promise
<
boolean
>
delete
Row
By
Key
deleteRowByKey
(
table
:
string
,
key
:
string
)
:
number
|
Promise
<
number
|
null
>
Parameters
table
:
string
key
:
string
Returns
number
|
Promise
<
number
|
null
>
get
All
Rows
getAllRows
(
table
:
string
)
:
any
Parameters
table
:
string
Returns
any
get
Row
By
Key
getRowByKey
(
table
:
string
,
key
:
string
)
:
any
Parameters
table
:
string
key
:
string
Returns
any
init
init
(
table
:
string
)
:
void
|
Promise
<
boolean
>
Parameters
table
:
string
Returns
void
|
Promise
<
boolean
>
set
Row
By
Key
setRowByKey
(
table
:
string
,
key
:
string
,
value
:
any
)
:
boolean
|
Promise
<
boolean
>
Parameters
table
:
string
key
:
string
value
:
any
Returns
boolean
|
Promise
<
boolean
>
tables
tables
()
:
string
[]
|
Promise
<
string
[]
>
Returns
string
[]
|
Promise
<
string
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
close
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
set
Row
By
Key
tables
GoodDB
Loading...