MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / PrimaryKey

Interface PrimaryKey

crates/bindings/src/table.rs:295–295  ·  view source on GitHub ↗

A marker trait for columns that are the primary key of their table. This is used to restrict [`UniqueColumn::update`] to only work on primary key columns.

Source from the content-addressed store, hash-verified

293///
294/// This is used to restrict [`UniqueColumn::update`] to only work on primary key columns.
295pub trait PrimaryKey {}
296
297/// A handle to a unique index on a column.
298/// Available for `#[unique]` and `#[primary_key]` columns.

Callers 1

parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…