MCPcopy
hub / github.com/directus/directus / foreignKeys

Method foreignKeys

packages/types/src/services.ts:362–362  ·  view source on GitHub ↗
(collection?: string)

Source from the content-addressed store, hash-verified

360 */
361interface RelationsService<T = Relation> {
362 foreignKeys(collection?: string): Promise<ForeignKey[]>;
363 readAll(collection?: string, opts?: QueryOptions, bypassCache?: boolean): Promise<T[]>;
364 /**
365 * Create a new relationship / foreign key constraint

Callers 6

upFunction · 0.65
upFunction · 0.65
upFunction · 0.65
dropConstraintFunction · 0.65
foreignKeysMethod · 0.65
readAllMethod · 0.65

Implementers 1

RelationsServiceapi/src/services/relations.ts

Calls

no outgoing calls

Tested by

no test coverage detected