paaradiso
Explore posts from serversDTDrizzle Team
•Created by paaradiso on 6/12/2024 in #help
NeonDbError: Error connecting to database: fetch failed
dunno what other information to provide
3 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
easier to implement as well
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
that's much smarter, thanks :)
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
yeah true
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
hmm
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
i see
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
how should i do it?
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
ooh okay
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
i think this should work? https://www.commandprompt.com/education/postgresql-if-else-statement-with-examples/
24 replies
DTDrizzle Team
•Created by paaradiso on 11/11/2023 in #help
how can i delete if row exists (where eq(xxx)), otherwise insert, in one query?
i have a table of collections (music singles, eps, albums) that you can like. i also have a liked_collections table that just has user_id and collection_id columns. when a collection is liked/unliked, i want to either remove a row if it's already liked, or insert a row if it's not already liked
24 replies
DTDrizzle Team
•Created by paaradiso on 11/9/2023 in #help
how to do the opposite of inArray()?
that works, thanks 🙂
7 replies
DTDrizzle Team
•Created by paaradiso on 11/9/2023 in #help
how to do the opposite of inArray()?
7 replies
DTDrizzle Team
•Created by paaradiso on 11/9/2023 in #help
how to do the opposite of inArray()?
just an array
7 replies