Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Mar 3, 2024
1 parent 0c183dd commit 399002d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/bun-mysql2/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import mysql, { RowDataPacket } from "mysql2/promise";

type Client = mysql.Connection | mysql.Pool;
Expand Down
2 changes: 2 additions & 0 deletions examples/bun-pg/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import { QueryArrayConfig, QueryArrayResult } from "pg";

interface Client {
Expand Down
2 changes: 2 additions & 0 deletions examples/bun-postgres/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import { Sql } from "postgres";

export const getAuthorQuery = `-- name: GetAuthor :one
Expand Down
2 changes: 2 additions & 0 deletions examples/node-better-sqlite3/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import { Database } from "better-sqlite3";

export const getAuthorQuery = `-- name: GetAuthor :one
Expand Down
2 changes: 2 additions & 0 deletions examples/node-mysql2/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import mysql, { RowDataPacket } from "mysql2/promise";

type Client = mysql.Connection | mysql.Pool;
Expand Down
2 changes: 2 additions & 0 deletions examples/node-pg/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import { QueryArrayConfig, QueryArrayResult } from "pg";

interface Client {
Expand Down
2 changes: 2 additions & 0 deletions examples/node-postgres/src/db/query_sql.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Code generated by sqlc. DO NOT EDIT.

import { Sql } from "postgres";

export const getAuthorQuery = `-- name: GetAuthor :one
Expand Down

0 comments on commit 399002d

Please sign in to comment.