MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / unique

Method unique

packages/core/fumadb/src/schema/create.ts:330–330  ·  view source on GitHub ↗

* Add unique constraint to the fields, for consistency, duplicated null values are allowed.

(name: string, columns: (keyof Columns)[])

Source from the content-addressed store, hash-verified

328 * Add unique constraint to the fields, for consistency, duplicated null values are allowed.
329 */
330 unique(name: string, columns: (keyof Columns)[]): Table<Columns, Relations>;
331
332 policy<TContext>(policy: TablePolicy<this, TContext>): this;
333

Callers 11

unscopedExecutorTableFunction · 0.65
tenantExecutorTableFunction · 0.65
ownedExecutorTableFunction · 0.65
migrate.test.tsFile · 0.65
cli.tsFile · 0.65
query.schema.tsFile · 0.65
applyColumnModifiersFunction · 0.65
introspectSchemaFunction · 0.65
createUniqueIndexFunction · 0.65
cloneFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected