Skip to content

AxDBWeaviate

Class: AxDBWeaviate

Weaviate: DB Service

Export

Extends

  • AxDBBase

Constructors

new AxDBWeaviate()

new AxDBWeaviate(__namedParameters): AxDBWeaviate

Parameters

__namedParameters: Readonly<Omit<AxDBWeaviateArgs, "name">>

Returns

AxDBWeaviate

Overrides

AxDBBase.constructor

Defined in

src/ax/db/weaviate.ts:44

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

src/ax/db/base.ts:27


name

protected name: string

Inherited from

AxDBBase.name

Defined in

src/ax/db/base.ts:26

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

src/ax/db/weaviate.ts:94


_query()

_query(req, options?): Promise<AxDBQueryResponse>

Parameters

req: Readonly<AxDBQueryRequest>

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBQueryResponse>

Overrides

AxDBBase._query

Defined in

src/ax/db/weaviate.ts:139


_upsert()

_upsert(req, update?, options?): Promise<AxDBUpsertResponse>

Parameters

req: Readonly<AxDBUpsertRequest>

update?: boolean

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBUpsertResponse>

Overrides

AxDBBase._upsert

Defined in

src/ax/db/weaviate.ts:58


batchUpsert()

batchUpsert(req, update?): Promise<AxDBUpsertResponse>

Parameters

req: readonly AxDBUpsertRequest[]

update?: boolean

Returns

Promise<AxDBUpsertResponse>

Inherited from

AxDBBase.batchUpsert

Defined in

src/ax/db/base.ts:89


query()

query(req): Promise<AxDBQueryResponse>

Parameters

req: Readonly<AxDBQueryRequest>

Returns

Promise<AxDBQueryResponse>

Inherited from

AxDBBase.query

Defined in

src/ax/db/base.ts:127


upsert()

upsert(req, update?): Promise<AxDBUpsertResponse>

Parameters

req: Readonly<AxDBUpsertRequest>

update?: boolean

Returns

Promise<AxDBUpsertResponse>

Inherited from

AxDBBase.upsert

Defined in

src/ax/db/base.ts:57