Kenpaffu
Kenpaffu
Explore posts from servers
DTDrizzle Team
Created by Kenpaffu on 6/25/2024 in #help
insert multiple rows - onConflictDoUpdate
Hello, I am working on a project which is in prod now, I was originally looping through some data and inserting to my db in each iteration while having an onConflictDoUpdate for each one so that I can easily update data in said row. That has caused an issue with my db service which makes me think an insert multiple rows may be my best course of action. The only problem is that I don't know how to handle the onConflictDoUpdate because any of those rows can be conflicting and I'd like to update them if they are. Is there any way to do this? Thank you!
2 replies
DTDrizzle Team
Created by Kenpaffu on 6/16/2024 in #help
SQLITE error "Table already exists"
Hello, I've run drizzle-kit up and drizzle-kit generate, but when I run migrate I get an error saying that a table name already exists. (Error, below) My understanding is that this would just alter one of my tables based on my schemas, am I misunderstanding something? applying migrations...LibsqlError: SQLITE_ERROR: table table_name already exists
3 replies
KKinde
Created by Kenpaffu on 2/7/2024 in #💻┃support
Discord Auth user object
Hello, I am wondering if there's a way to get either a display name or a first name or something other than 3 that I'm currently seeing. I want to be able to display the user name, but don't want that to be an email.
{
picture: '',
email: '',
id: 'kd_...'
}
{
picture: '',
email: '',
id: 'kd_...'
}
8 replies
KKinde
Created by Kenpaffu on 1/29/2024 in #💻┃support
Is there a way for the login/signup happen in a modal rather than a full redirect?
Hello, I've got Kinde up and running on a side project, I was wondering if instead of redirecting I was able to use a modal or a component?
3 replies