AxDBMemory
Class: AxDBMemory
MemoryDB: DB Service
Export
Extends
AxDBBase
Constructors
new AxDBMemory()
new AxDBMemory(
__namedParameters
):AxDBMemory
Parameters
• __namedParameters: Readonly
<Omit
<AxDBMemoryArgs
, "name"
>> = {}
Returns
Overrides
AxDBBase.constructor
Defined in
Properties
fetch()?
protected
optional
fetch: (input
,init
?) =>Promise
<Response
>
Parameters
• input: string
| URL
| Request
• init?: RequestInit
Returns
Promise
<Response
>
Inherited from
AxDBBase.fetch
Defined in
name
protected
name:string
Inherited from
AxDBBase.name
Defined in
Methods
_batchUpsert()
_batchUpsert(
batchReq
,update
?,_options
?):Promise
<AxDBUpsertResponse
>
Parameters
• batchReq: readonly AxDBUpsertRequest
[]
• update?: boolean
• _options?: Readonly
<AxDBBaseOpOptions
>
Returns
Promise
<AxDBUpsertResponse
>
Overrides
AxDBBase._batchUpsert
Defined in
_query()
_query(
req
,_options
?):Promise
<AxDBQueryResponse
>
Parameters
• req: Readonly
<AxDBQueryRequest
>
• _options?: Readonly
<AxDBBaseOpOptions
>
Returns
Promise
<AxDBQueryResponse
>
Overrides
AxDBBase._query
Defined in
_upsert()
_upsert(
req
,_update
?,_options
?):Promise
<AxDBUpsertResponse
>
Parameters
• req: Readonly
<AxDBUpsertRequest
>
• _update?: boolean
• _options?: Readonly
<AxDBBaseOpOptions
>
Returns
Promise
<AxDBUpsertResponse
>
Overrides
AxDBBase._upsert
Defined in
batchUpsert()
batchUpsert(
req
,update
?):Promise
<AxDBUpsertResponse
>
Parameters
• req: readonly AxDBUpsertRequest
[]
• update?: boolean
Returns
Promise
<AxDBUpsertResponse
>
Inherited from
AxDBBase.batchUpsert
Defined in
clearDB()
clearDB():
void
Returns
void
Defined in
getDB()
getDB():
AxDBState
Returns
Defined in
query()
query(
req
):Promise
<AxDBQueryResponse
>
Parameters
• req: Readonly
<AxDBQueryRequest
>
Returns
Promise
<AxDBQueryResponse
>
Inherited from
AxDBBase.query
Defined in
setDB()
setDB(
state
):void
Parameters
• state: AxDBState
Returns
void
Defined in
upsert()
upsert(
req
,update
?):Promise
<AxDBUpsertResponse
>
Parameters
• req: Readonly
<AxDBUpsertRequest
>
• update?: boolean
Returns
Promise
<AxDBUpsertResponse
>
Inherited from
AxDBBase.upsert