mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-24 21:34:24 +00:00
- Changed the import statement from "bun" to "postgres". - Simplified the PostgreSQL client initialization by directly using the connection string.
5 lines
115 B
TypeScript
5 lines
115 B
TypeScript
import SQL from "postgres";
|
|
|
|
const postgres = SQL(`${process.env.POSTGRES_URL || ""}}`);
|
|
|
|
export default postgres;
|