MCPcopy Create free account
hub / github.com/subquery/subql / commentConstraintQuery

Function commentConstraintQuery

packages/node-core/src/db/sync-helper.ts:98–100  ·  view source on GitHub ↗
(schema: string, table: string, constraint: string, comment: string)

Source from the content-addressed store, hash-verified

96}
97
98export function commentConstraintQuery(schema: string, table: string, constraint: string, comment: string): Query {
99 return commentOn('CONSTRAINT', escapedName(schema, table), comment, constraint);
100}
101
102export function commentTableQuery(schema: string, table: string, comment: string): Query {
103 return commentOn('TABLE', escapedName(schema, table), comment);

Callers

nothing calls this directly

Calls 2

commentOnFunction · 0.85
escapedNameFunction · 0.85

Tested by

no test coverage detected