harshcut
harshcut
Explore posts from servers
DTDrizzle Team
Created by harshcut on 5/2/2024 in #help
Help needed for Nested Query
This is what i got working!
await db
.select({ episodeId: bookmarks.episodeId })
.from(bookmarks)
.leftJoin(episodes, eq(bookmarks.episodeId, episodes.id))
.where(and(eq(bookmarks.userId, userId), eq(episodes.podcastId, body.podcastId)))
await db
.select({ episodeId: bookmarks.episodeId })
.from(bookmarks)
.leftJoin(episodes, eq(bookmarks.episodeId, episodes.id))
.where(and(eq(bookmarks.userId, userId), eq(episodes.podcastId, body.podcastId)))
2 replies
DTDrizzle Team
Created by Kyrre Gjerstad on 3/22/2024 in #help
mysql2 driver in edge middleware
even the local mysql server?
6 replies
DTDrizzle Team
Created by yousuf4you on 3/24/2024 in #help
Why returning not support in MySQL2??
if you want the return want id of the created row, that is available in the awaited response
4 replies
DTDrizzle Team
Created by Kyrre Gjerstad on 3/22/2024 in #help
mysql2 driver in edge middleware
AFAIK the mysql2 sriver does not support edge runtime yet
6 replies