async function selectEventByCondition(condition) {
return db.query.events.findFirst({
where: condition,
with: {
exceptions: true,
},
})
}
async function selectEventByCondition(condition) {
return db.query.events.findFirst({
where: condition,
with: {
exceptions: true,
},
})
}