Skip to content
1 min read · 104 words

Interface: CollectionFieldSpec

Defined in: src/batteries/vector/plan.ts:74

Declaration of a single metadata field in a CollectionSpec.

Properties

PropertyTypeDescriptionDefined in
index?booleanWhether the backend should index the field for filtering.src/batteries/vector/plan.ts:80
namestringField name.src/batteries/vector/plan.ts:76
nullable?booleanWhether the field accepts null/absent values.src/batteries/vector/plan.ts:82
type"string" | "number" | "boolean" | "integer" | "json"Field's scalar type.src/batteries/vector/plan.ts:78