Skip to content

Commit fce7933

Browse files
committed
Update examples
1 parent e2387d8 commit fce7933

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

examples/bun-mysql2/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import mysql, { RowDataPacket } from "mysql2/promise";
24

35
type Client = mysql.Connection | mysql.Pool;

examples/bun-pg/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import { QueryArrayConfig, QueryArrayResult } from "pg";
24

35
interface Client {

examples/bun-postgres/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import { Sql } from "postgres";
24

35
export const getAuthorQuery = `-- name: GetAuthor :one

examples/node-better-sqlite3/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import { Database } from "better-sqlite3";
24

35
export const getAuthorQuery = `-- name: GetAuthor :one

examples/node-mysql2/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import mysql, { RowDataPacket } from "mysql2/promise";
24

35
type Client = mysql.Connection | mysql.Pool;

examples/node-pg/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import { QueryArrayConfig, QueryArrayResult } from "pg";
24

35
interface Client {

examples/node-postgres/src/db/query_sql.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Code generated by sqlc. DO NOT EDIT.
2+
13
import { Sql } from "postgres";
24

35
export const getAuthorQuery = `-- name: GetAuthor :one

0 commit comments

Comments
 (0)