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

Function commentColumnQuery

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

Source from the content-addressed store, hash-verified

104}
105
106export function commentColumnQuery(schema: string, table: string, column: string, comment: string): Query {
107 return commentOn('COLUMN', escapedName(schema, table, column), comment);
108}
109
110export function commentOnFunction(schema: string, functionName: string, comment: string): Query {
111 return commentOn('FUNCTION', escapedName(schema, functionName), comment);

Callers 2

generateCreateTableQueryFunction · 0.85

Calls 2

commentOnFunction · 0.85
escapedNameFunction · 0.85

Tested by

no test coverage detected