node-pg-migrate
Version:
PostgreSQL database migration management tool for node.js
15 lines (13 loc) • 406 B
TypeScript
/**
* Make a comment on a database object.
*
* @param object The object type.
* @param name The object name.
* @param text The comment text. This will be escaped. Default is `null`.
*
* @returns The comment SQL.
*
* @see https://www.postgresql.org/docs/current/sql-comment.html
*/
declare function makeComment(object: string, name: string, text?: string | null): string;
export { makeComment };