mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2026-10-15 15:17:29 +00:00
feat(problemset): optimize database query by selecting specific fields
This commit is contained in:
@@ -31,6 +31,11 @@ export default async function ProblemsetPage() {
|
||||
orderBy: {
|
||||
id: "asc",
|
||||
},
|
||||
select: {
|
||||
id: true,
|
||||
title: true,
|
||||
difficulty: true,
|
||||
},
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user