Search
Preparing search index...
The search index is not available
Soukai API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Soukai API
IndexedDBEngine
Class IndexedDBEngine
Hierarchy
IndexedDBEngine
Implements
Engine
ClosesConnections
Index
Constructors
constructor
Methods
close
Connections
create
delete
get
Collections
purge
Database
read
Many
read
One
update
Constructors
constructor
new
IndexedDBEngine
(
database
?:
null
|
string
)
:
IndexedDBEngine
Parameters
database:
null
|
string
= null
Returns
IndexedDBEngine
Methods
close
Connections
close
Connections
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
create
create
(
collection
:
string
, document
:
EngineDocument
, id
?:
string
)
:
Promise
<
string
>
Parameters
collection:
string
document:
EngineDocument
Optional
id:
string
Returns
Promise
<
string
>
delete
delete
(
collection
:
string
, id
:
string
)
:
Promise
<
void
>
Parameters
collection:
string
id:
string
Returns
Promise
<
void
>
get
Collections
get
Collections
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
purge
Database
purge
Database
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
read
Many
read
Many
(
collection
:
string
, filters
?:
EngineFilters
)
:
Promise
<
EngineDocumentsCollection
>
Parameters
collection:
string
Optional
filters:
EngineFilters
Returns
Promise
<
EngineDocumentsCollection
>
read
One
read
One
(
collection
:
string
, id
:
string
)
:
Promise
<
EngineDocument
>
Parameters
collection:
string
id:
string
Returns
Promise
<
EngineDocument
>
update
update
(
collection
:
string
, id
:
string
, updates
:
EngineUpdates
)
:
Promise
<
void
>
Parameters
collection:
string
id:
string
updates:
EngineUpdates
Returns
Promise
<
void
>
Exports
IndexedDBEngine
constructor
close
Connections
create
delete
get
Collections
purge
Database
read
Many
read
One
update
Generated using
TypeDoc