Comments (2)
Ah, sorry, I've now realised that it's not this package's own export of sql
but mine;
const sql = postgres(process.env.DATABASE_URL as string);
export default sql;
// ...
export async function getLatest...() { ... }
from postgres.
So this should be in issue create in the Next.js repo?
from postgres.
Related Issues (20)
- query is not inferred correctly when doing multiple update, and a value is an array. HOT 1
- How to specify multiple hosts and ports in options
- Issue with dynamically building condition clause HOT 4
- could not determine data type of parameter $1 HOT 4
- Issue with auto failover with unresponsive host HOT 1
- Ability to inspect query fragments without database connection HOT 1
- Timeout issue when using with Bun HOT 12
- [question] How to get the query string before execution? HOT 3
- Nested arrays aren't expanded properly in 3.4.3 HOT 1
- Unable to parse Default Var on ALTER TABLE
- Unexpected Server Error Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. Received protocol 'cloudflare:' HOT 2
- arbitrary UNSAFE_TRANSACTION errors when using sql.begin HOT 1
- Connect-Timeout Behavior - Include Waiting for Connection Pool HOT 1
- convert a specific column when reading or writing to the database HOT 2
- nested transactions HOT 1
- arbitrary stuck queries HOT 6
- Certain transaction errors are swallowed HOT 11
- Invalid URL on README (TypeScript + Cypress) HOT 4
- Setting max: undefined results in only 1 connection being created
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgres.