404
DTDrizzle Team
•Created by 404 on 9/6/2024 in #help
Error: connect ENETUNREACH when connecting xata
just deleted the database and created a new one, then the problem was solved
2 replies
DTDrizzle Team
•Created by Anas Badran on 8/23/2024 in #help
Storing Images
you can use uploadthing https://uploadthing.com/
14 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
I was using cloudflare warp to change my DNS and it was not working properly along with bun and drizzle because I left it on. I solved the problem by switching off the warp.
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
What could I have done wrong?
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
and my another drizzle nextjs app works well
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
i did neon example and works well
// app.js
const postgres = require('postgres');
require('dotenv').config();
let { PGHOST, PGDATABASE, PGUSER, PGPASSWORD, ENDPOINT_ID } = process.env;
const sql = postgres({
host: PGHOST,
database: PGDATABASE,
username: PGUSER,
password: PGPASSWORD,
port: 5432,
ssl: 'require',
connection: {
options:
project=${ENDPOINT_ID},
},
});
async function getPgVersion() {
const result = await sql
select version();
console.log(result);
}
getPgVersion();
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
okey
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
actually I realised that it waits a long time after any drizzle code, and give this error
12 replies
DTDrizzle Team
•Created by 404 on 5/7/2024 in #help
error: Connection terminated unexpectedly
Hmm, I understand. I'll contact the neon support.
12 replies
DTDrizzle Team
•Created by 404 on 1/20/2024 in #help
How do I get insertId from table using cuid2
https://orm.drizzle.team/docs/column-types/mysql#default-value
no, cuid2 runing in my database
6 replies
DTDrizzle Team
•Created by 404 on 1/20/2024 in #help
How do I get insertId from table using cuid2
I don't know what you're trying to say. I want to get the auto generated cuid2 by drizzle of the column that I insert.
6 replies
DTDrizzle Team
•Created by 404 on 1/20/2024 in #help
How do I get insertId from table using cuid2
I did some research and I think this is the way the database works, there is no solution.
6 replies
DTDrizzle Team
•Created by 404 on 1/18/2024 in #help
Can i make many to many relationship without define new table
anyways, thanks for your respond
4 replies
DTDrizzle Team
•Created by 404 on 1/18/2024 in #help
Can i make many to many relationship without define new table
I asked because I had this feature when I was using prisma
4 replies
DTDrizzle Team
•Created by 404 on 12/28/2023 in #help
What I'm doing wrong?
it was necessary to import schema, thanks anyway :P
5 replies