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

Method GetPrimaryKey

sdks/csharp/src/Table.cs:189–189  ·  view source on GitHub ↗

This method needs to be overridden by autogen.

(Row row)

Source from the content-addressed store, hash-verified

187
188 // This method needs to be overridden by autogen.
189 protected virtual object? GetPrimaryKey(Row row) => null;
190
191 // These events are used by indices to add/remove rows to their dictionaries.
192 // TODO: figure out if they can be merged into regular OnInsert / OnDelete.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected