interface CosmosQuerySpec
Since 0.2.0

A parameterized Cosmos SQL query — the shape items.query accepts.

Properties

readonly
query: string

The SQL text, with @name placeholders for every value.

readonly
parameters: readonly CosmosQueryParameter[]

The bound parameters.

Usage

import { type CosmosQuerySpec } from "database-plugin/src/index.ts";