ignore: cloud

This commit is contained in:
Dax Raad
2025-08-28 17:33:52 -04:00
parent 403f9b2f1b
commit 3fa02623c3

View File

@@ -3,7 +3,7 @@ import { Resource } from "sst"
export * from "drizzle-orm"
import postgres from "postgres"
const createClient = () => {
const init = () => {
const client = postgres({
idle_timeout: 30000,
connect_timeout: 30000,
@@ -20,6 +20,8 @@ const createClient = () => {
return drizzle(client, {})
}
const createClient = "NODE_ENV" in process.env ? init : memo(init)
import { PgTransaction, type PgTransactionConfig } from "drizzle-orm/pg-core"
import type { ExtractTablesWithRelations } from "drizzle-orm"
import type { PostgresJsQueryResultHKT } from "drizzle-orm/postgres-js"