MCPcopy Index your code
hub / github.com/BuilderIO/agent-native / isPostgresUrl

Function isPostgresUrl

packages/core/src/scripts/db/exec.ts:28–30  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

26import { assertNoSensitiveFrameworkTables } from "./safety.js";
27
28function isPostgresUrl(url: string): boolean {
29 return url.startsWith("postgres://") || url.startsWith("postgresql://");
30}
31
32interface DbExecStatement {
33 sql: string;

Callers 1

dbExecFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected