MCPcopy Create free account
hub / github.com/InsForge/InsForge / validateTableName

Function validateTableName

backend/src/utils/validations.ts:100–103  ·  view source on GitHub ↗
(tableName: string)

Source from the content-addressed store, hash-verified

98 * @throws AppError if invalid
99 */
100export function validateTableName(tableName: string): boolean {
101 validateIdentifier(tableName, 'table');
102 return true;
103}
104
105/**
106 * Validates schema name with additional checks

Callers 9

listRecordsMethod · 0.85
lookupRecordMethod · 0.85
createRecordsMethod · 0.85
updateRecordMethod · 0.85
deleteRecordsMethod · 0.85
bulkUpsertFromFileMethod · 0.85
forwardToPostgrestFunction · 0.85

Calls 1

validateIdentifierFunction · 0.85

Tested by

no test coverage detected