MCPcopy
hub / github.com/electric-sql/pglite / identifier

Function identifier

packages/pglite/src/templating.ts:125–133  ·  view source on GitHub ↗
(
  strings: TemplateStringsArray,
  ...values: any[]
)

Source from the content-addressed store, hash-verified

123 * ```
124 */
125export function identifier(
126 strings: TemplateStringsArray,
127 ...values: any[]
128): TemplatePart {
129 return {
130 _templateType: 'part',
131 str: `"${String.raw(strings, ...values)}"`,
132 }
133}
134
135/**
136 * Allows adding raw strings into a query template string without

Callers 3

basic.test.tsFile · 0.85
templating.test.jsFile · 0.85
getStmtFunction · 0.85

Calls

no outgoing calls

Tested by 1

getStmtFunction · 0.68