Skip to content

Commit 5a5de0c

Browse files
committed
docs(sdk): drop unsupported type cast from raw SQL example
1 parent 430cba0 commit 5a5de0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/sdk/docs/generator/builtin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ createResolver({
7575
body: async ({ input }) => {
7676
const db = getDB("tailordb");
7777
const { rows } = await sql<{ state: string; count: number }>`
78-
SELECT state, COUNT(*)::int AS count
78+
SELECT state, COUNT(*) AS count
7979
FROM "Supplier"
8080
WHERE country = ${input.country}
8181
GROUP BY state

0 commit comments

Comments
 (0)