AxDBBase
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/db/base.ts#L22
Extended by
Implements
Constructors
Constructor
new AxDBBase(__namedParameters: Readonly<AxDBBaseArgs & object>): AxDBBase;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/db/base.ts#L44
Parameters
Parameter | Type |
---|---|
__namedParameters | Readonly <AxDBBaseArgs & object > |
Returns
AxDBBase
Properties
Property | Type |
---|---|
_batchUpsert? | (batchReq : readonly AxDBUpsertRequest [], update? : boolean , options? : Readonly <AxDBBaseOpOptions >) => Promise <AxDBUpsertResponse > |
_query? | (req : Readonly <AxDBQueryRequest >, options? : Readonly <AxDBBaseOpOptions >) => Promise <AxDBQueryResponse > |
_upsert? | (req : Readonly <AxDBUpsertRequest >, update? : boolean , options? : Readonly <AxDBBaseOpOptions >) => Promise <AxDBUpsertResponse > |
Methods
batchUpsert()
batchUpsert(req: readonly AxDBUpsertRequest[], update?: boolean): Promise<AxDBUpsertResponse>;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/db/base.ts#L88
Parameters
Parameter | Type |
---|---|
req | readonly AxDBUpsertRequest [] |
update? | boolean |
Returns
Promise
<AxDBUpsertResponse
>
Implementation of
query()
query(req: Readonly<AxDBQueryRequest>): Promise<AxDBQueryResponse>;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/db/base.ts#L128
Parameters
Parameter | Type |
---|---|
req | Readonly <AxDBQueryRequest > |
Returns
Promise
<AxDBQueryResponse
>
Implementation of
upsert()
upsert(req: Readonly<AxDBUpsertRequest>, update?: boolean): Promise<AxDBUpsertResponse>;
Defined in: https://github.com/ax-llm/ax/blob/9a5a7060a48f9eef46efc680b0cdf6b42bff5df2/src/ax/db/base.ts#L54
Parameters
Parameter | Type |
---|---|
req | Readonly <AxDBUpsertRequest > |
update? | boolean |
Returns
Promise
<AxDBUpsertResponse
>