primaryKey?
typescript
1
optional primaryKey: string
Defined in: ridb_core.d.ts:672
Operation<T> = object
Defined in: ridb_core.d.ts:655
Represents an operation to be performed on a collection.
T extends SchemaType = SchemaType
The schema type of the collection.
collection: string
Defined in: ridb_core.d.ts:659
The name of the collection on which the operation will be performed.
data: Doc<T>
Defined in: ridb_core.d.ts:669
The data involved in the operation, conforming to the schema type.
opType: OpType
Defined in: ridb_core.d.ts:664
The type of operation to be performed (e.g., CREATE, UPDATE, DELETE).
optional primaryKey: string
Defined in: ridb_core.d.ts:672
optional primaryKeyField: string
Defined in: ridb_core.d.ts:671