Skip to content
1 min read · 34 words

Type Alias: SelectArg ​

ts
type SelectArg =
  | string
  | [string, Record<string, unknown>]
  | Record<string, Record<string, unknown> | true>;

Defined in: src/batteries/vector/builder.ts:64

An argument accepted by VectorQueryBuilder.select — a field name (or '*'), a [field, config] tuple, or a { field: config } map selecting and configuring projected fields.