MCPcopy
hub / github.com/eveningkid/denodb / _findPrimaryKey

Method _findPrimaryKey

lib/model.ts:191–193  ·  view source on GitHub ↗

Manually find the primary key by going through the schema fields.

()

Source from the content-addressed store, hash-verified

189
190 /** Manually find the primary key by going through the schema fields. */
191 private static _findPrimaryKey(): string {
192 return this._findPrimaryField().name;
193 }
194
195 /** Return the model computed primary key. */
196 static getComputedPrimaryKey(): string {

Callers 2

_linkMethod · 0.95
getComputedPrimaryKeyMethod · 0.95

Calls 1

_findPrimaryFieldMethod · 0.95

Tested by

no test coverage detected