(schema: string, table: string)
| 754 | }; |
| 755 | |
| 756 | export const commentSearchFunctionQuery = (schema: string, table: string): Query => |
| 757 | commentOnFunction(schema, searchFunctionName(schema, table), `@name search_${table}`); |
| 758 | |
| 759 | export const tableExistsQuery = (schema: string): string => { |
| 760 | return `SELECT table_name FROM information_schema.tables where table_schema='${schema}'`; |
nothing calls this directly
no test coverage detected