mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-17 16:27:28 +02:00
⚡️ Optimize options query
This commit is contained in:
parent
f10fd919c7
commit
bc521f7ecb
3 changed files with 10 additions and 3 deletions
|
@ -405,6 +405,11 @@ export const polls = router({
|
|||
hideScores: true,
|
||||
demo: true,
|
||||
options: {
|
||||
select: {
|
||||
id: true,
|
||||
start: true,
|
||||
duration: true,
|
||||
},
|
||||
orderBy: {
|
||||
start: "asc",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue