Preparing search index...
The search index is not available
node-json-db
node-json-db
adapter/IAdapter
IAdapter
Interface IAdapter<T>
Use to read and write data of type T
interface
IAdapter
<
T
>
{
readAsync
:
()
=>
Promise
<
null
|
T
>
;
writeAsync
:
(
data
:
T
)
=>
Promise
<
void
>
;
}
Type Parameters
T
Hierarchy (
View Summary
)
IAdapter
IFileAdapter
Implemented by
JsonAdapter
Index
Properties
read
Async
write
Async
Properties
read
Async
readAsync
:
()
=>
Promise
<
null
|
T
>
Read the data from the medium
write
Async
writeAsync
:
(
data
:
T
)
=>
Promise
<
void
>
Write date into the medium
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
read
Async
write
Async
node-json-db
Loading...
Use to read and write data of type T