Skip to content

AxDBCloudflare

Class: AxDBCloudflare

Cloudflare: DB Service

Export

Extends

  • AxDBBase

Constructors

new AxDBCloudflare()

new AxDBCloudflare(__namedParameters): AxDBCloudflare

Parameters

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

Returns

AxDBCloudflare

Overrides

AxDBBase.constructor

Defined in

src/ax/db/cloudflare.ts:49

Properties

_batchUpsert()?

optional _batchUpsert: (batchReq, update?, options?) => Promise<AxDBUpsertResponse>

Parameters

batchReq: readonly AxDBUpsertRequest[]

update?: boolean

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBUpsertResponse>

Inherited from

AxDBBase._batchUpsert

Defined in

src/ax/db/base.ts:36


_query()?

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

Parameters

req: Readonly<AxDBQueryRequest>

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBQueryResponse>

Inherited from

AxDBBase._query

Defined in

src/ax/db/base.ts:42


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

_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/cloudflare.ts:63


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/cloudflare.ts:99


query()

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

Parameters

req: Readonly<AxDBQueryRequest>

options?: Readonly<AxDBBaseOpOptions>

Returns

Promise<AxDBQueryResponse>

Overrides

AxDBBase.query

Defined in

src/ax/db/cloudflare.ts:148


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