Search
Preparing search index...
The search index is not available
Soukai API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Soukai API
LocalStorageEngine
Class LocalStorageEngine
Hierarchy
LocalStorageEngine
Implements
Engine
Index
Constructors
constructor
Methods
clear
create
delete
read
Many
read
One
update
Constructors
constructor
new
Local
Storage
Engine
(
prefix
?:
string
)
:
LocalStorageEngine
Parameters
prefix:
string
= ''
Returns
LocalStorageEngine
Methods
clear
clear
(
)
:
void
Returns
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
>
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
Local
Storage
Engine
constructor
clear
create
delete
read
Many
read
One
update
Generated using
TypeDoc