-
```ts
const orderBy = 'random()' // OR 'volume DESC'
const rows = await sql/*sql*/ `
SELECT *
FROM items
ORDER BY ${sql(orderType)}
`
```
The generated query has `ORDER BY $1` in it, b…
-
`ERROR code: 22P02, detail: Unexpected array element. whereL unnamed portal parameter $2 = ... fileL arrayfuncs.c. routine: ArrayCount. updates: {text_clean: [array]}`
I'm getting this intermittent…
-
Hier, j'ai découvert la librairie "[Postgres.js](https://github.com/porsager/postgres) - The Fastest full featured PostgreSQL client for Node.js and Deno".
J'ai bien aimé ce que j'ai lu dans le REA…
-
### Description
Add an adapter for https://github.com/porsager/postgres
-
#574 was closed but not resolved. So here it is again with a rephrased explanation:
postgresjs uses an old Deno std lib version that does not pass `deno check` in newer Deno versions. This is probl…
-
Postgres has a nice shorthand for multi column greater than expressions:
```SQL
SELECT *
FROM table
WHERE (a,b) > (2,4);
```
Which is the same as saying:
```SQL
SELECT *
FROM table
WHERE…
-
The following errors were reported by 5.5.0-dev.20240317
[Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48)
[Logs for the pipeline run](https://t…
-
Config kirimase.config.json:
```json
{
"driver": "pg",
"hasSrc": false,
"provider": "postgresjs",
"packages": [
"drizzle",
"trpc",
"next-auth",
"shadcn-ui"
],
"…
-
### Problem description
My project has been running on Deno Deploy for the past 7 days untouched. It recently started throwing 500 errors, `ops.op_set_keepalive is not a function`. I’m using `postgre…
-
# Bug report
- [X ] I confirm this is a bug with Supabase, not with my own application.
- [X ] I confirm I have searched the [Docs](https://docs.supabase.com), GitHub [Discussions](https://gi…