Preparing search index...
The search index is not available
blockstore-datastore-adapter - v5.0.0
blockstore-datastore-adapter - v5.0.0
BlockstoreDatastoreAdapter
Class BlockstoreDatastoreAdapter
Implements
Hierarchy
BaseBlockstore
BlockstoreDatastoreAdapter
Index
Constructors
constructor
Properties
child
Methods
close
delete
delete
Many
get
get
Many
has
open
put
put
Many
query
query
Keys
Constructors
constructor
new
Blockstore
Datastore
Adapter
(
datastore
:
Datastore
)
:
BlockstoreDatastoreAdapter
Parameters
datastore:
Datastore
Returns
BlockstoreDatastoreAdapter
Properties
child
child
:
Datastore
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
delete
(
cid
:
CID
<
any
,
number
,
number
,
Version
>
, options
?:
Options
)
:
Promise
<
void
>
Parameters
cid:
CID
<
any
,
number
,
number
,
Version
>
Optional
options:
Options
Returns
Promise
<
void
>
delete
Many
delete
Many
(
cids
:
AsyncIterable
<
CID
<
any
,
number
,
number
,
Version
>
>
|
Iterable
<
CID
<
any
,
number
,
number
,
Version
>
>
, options
?:
Options
)
:
Pushable
<
any
,
void
,
unknown
>
Parameters
cids:
AsyncIterable
<
CID
<
any
,
number
,
number
,
Version
>
>
|
Iterable
<
CID
<
any
,
number
,
number
,
Version
>
>
Optional
options:
Options
Returns
Pushable
<
any
,
void
,
unknown
>
get
get
(
cid
:
CID
<
any
,
number
,
number
,
Version
>
, options
?:
Options
)
:
Promise
<
Uint8Array
>
Returns
Parameters
cid:
CID
<
any
,
number
,
number
,
Version
>
Optional
options:
Options
Returns
Promise
<
Uint8Array
>
get
Many
get
Many
(
cids
:
AsyncIterable
<
CID
<
any
,
number
,
number
,
Version
>
>
|
Iterable
<
CID
<
any
,
number
,
number
,
Version
>
>
, options
?:
Options
)
:
AsyncGenerator
<
Uint8Array
,
void
,
unknown
>
Parameters
cids:
AsyncIterable
<
CID
<
any
,
number
,
number
,
Version
>
>
|
Iterable
<
CID
<
any
,
number
,
number
,
Version
>
>
Optional
options:
Options
Returns
AsyncGenerator
<
Uint8Array
,
void
,
unknown
>
has
has
(
cid
:
CID
<
any
,
number
,
number
,
Version
>
, options
?:
Options
)
:
Promise
<
boolean
>
Parameters
cid:
CID
<
any
,
number
,
number
,
Version
>
Optional
options:
Options
Returns
Promise
<
boolean
>
open
open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
put
put
(
cid
:
CID
<
any
,
number
,
number
,
Version
>
, value
:
Uint8Array
, options
?:
Options
)
:
Promise
<
void
>
Parameters
cid:
CID
<
any
,
number
,
number
,
Version
>
value:
Uint8Array
Optional
options:
Options
Returns
Promise
<
void
>
put
Many
put
Many
(
blocks
:
AsyncIterable
<
Pair
>
|
Iterable
<
Pair
>
, options
?:
Options
)
:
AsyncGenerator
<
any
,
void
,
unknown
>
Parameters
blocks:
AsyncIterable
<
Pair
>
|
Iterable
<
Pair
>
Optional
options:
Options
Returns
AsyncGenerator
<
any
,
void
,
unknown
>
query
query
(
query
:
Query
, options
?:
Options
)
:
AsyncGenerator
<
{
key
:
CID
<
any
,
number
,
number
,
Version
>
;
value
:
Uint8Array
;
}
,
void
,
unknown
>
Parameters
query:
Query
Optional
options:
Options
Returns
AsyncGenerator
<
{
key
:
CID
<
any
,
number
,
number
,
Version
>
;
value
:
Uint8Array
;
}
,
void
,
unknown
>
query
Keys
query
Keys
(
query
:
KeyQuery
, options
?:
Options
)
:
AsyncGenerator
<
CID
<
any
,
number
,
number
,
Version
>
,
void
,
unknown
>
Parameters
query:
KeyQuery
Optional
options:
Options
Returns
AsyncGenerator
<
CID
<
any
,
number
,
number
,
Version
>
,
void
,
unknown
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
blockstore-
datastore-
adapter -
v5.0.0
Blockstore
Datastore
Adapter
constructor
child
close
delete
delete
Many
get
get
Many
has
open
put
put
Many
query
query
Keys
Implements