primaryKey?
typescript
1
optional primaryKey: string
Defined in: ridb_core.d.ts:253
Operation<T> = object
Defined in: ridb_core.d.ts:236
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:240
The name of the collection on which the operation will be performed.
data: Doc<T>
Defined in: ridb_core.d.ts:250
The data involved in the operation, conforming to the schema type.
opType: OpType
Defined in: ridb_core.d.ts:245
The type of operation to be performed (e.g., CREATE, UPDATE, DELETE).
optional primaryKey: string
Defined in: ridb_core.d.ts:253
optional primaryKeyField: string
Defined in: ridb_core.d.ts:252