MCPcopy
hub / github.com/drizzle-team/drizzle-orm / normalisePGliteUrl

Function normalisePGliteUrl

drizzle-kit/src/utils.ts:340–348  ·  view source on GitHub ↗
(
	it: string,
)

Source from the content-addressed store, hash-verified

338};
339
340export const normalisePGliteUrl = (
341 it: string,
342) => {
343 if (it.startsWith('file:')) {
344 return it.substring(5);
345 }
346
347 return it;
348};
349
350export function isPgArrayType(sqlType: string) {
351 return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;

Callers 1

preparePostgresDBFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected