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

Function isPostgresUrl

packages/core/src/scripts/db/query.ts:22–24  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

20import { buildScopingPostgres, buildScopingSqlite } from "./scoping.js";
21
22function isPostgresUrl(url: string): boolean {
23 return url.startsWith("postgres://") || url.startsWith("postgresql://");
24}
25
26function parseSqlArgs(raw: string | undefined): unknown[] {
27 if (!raw) return [];

Callers 1

dbQueryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected