feat: version 2 beta
This commit is contained in:
7
adapters/postgres/connection.ts
Normal file
7
adapters/postgres/connection.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Options, Sql } from "postgres";
|
||||
|
||||
export type PostgresConnection = [PostgresConnectionUrl, Options<any>?] | [Options<any>] | Sql | PostgresConnectionFactory;
|
||||
|
||||
type PostgresConnectionUrl = `postgres://${string}:${string}@${string}:${number}/${string}`;
|
||||
|
||||
type PostgresConnectionFactory = () => Sql;
|
||||
Reference in New Issue
Block a user