const post = await database.query.posts.findFirst({
where: eq(posts.id, params.postId),
with: {
tags: true,
links: true,
},
});
const post = await database.query.posts.findFirst({
where: eq(posts.id, params.postId),
with: {
tags: true,
links: true,
},
});