MCPcopy Index your code
hub / github.com/WebDevSimplified/feature-flags-sample-code / sql

Function sql

src/lib/sql.ts:2–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1/* eslint-disable @typescript-eslint/no-unused-vars */
2export function sql() {
3 return {
4 query: {
5 products: {
6 findMany: () => [{ id: 1 }],
7 },
8 },
9 select: (cols: string) => ({
10 from: (table: string) => [{ id: 1 }],
11 }),
12 }
13}

Callers 1

getProductsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected