Morten
Morten
Explore posts from servers
NNuxt
Created by Morten on 8/10/2024 in #❓・help
Nuxt project wont deploy nor start properly
No description
4 replies
DTDrizzle Team
Created by Morten on 9/28/2023 in #help
why does it work by sorting by false but not by true?
i am certain i have one of each and it works when on false but i dont get anything back when its on true even though i have 2 rows in the table with it true
const results = await db.query.workouts.findMany({
orderBy: [desc(weights.id)],
limit: 20,
with: {
user: {
columns: {
name: true,
id: true
}
},
days: true
},
where: eq(workouts.public, true)
})
const results = await db.query.workouts.findMany({
orderBy: [desc(weights.id)],
limit: 20,
with: {
user: {
columns: {
name: true,
id: true
}
},
days: true
},
where: eq(workouts.public, true)
})
3 replies
DTDrizzle Team
Created by Morten on 8/28/2023 in #help
is there any way to create related records with the main record together like this in prisma
No description
8 replies