MCPcopy
hub / github.com/BuilderIO/agent-native / isPostgresUrl

Function isPostgresUrl

packages/core/src/scripts/db/patch.ts:95–97  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

93}
94
95function isPostgresUrl(url: string): boolean {
96 return url.startsWith("postgres://") || url.startsWith("postgresql://");
97}
98
99/** Only unquoted [A-Za-z_][A-Za-z0-9_]* identifiers are allowed — no spaces,
100 * no quoting, no dotted names. This is deliberately strict: it stops the

Callers 1

dbPatchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected