mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
feat: validator decorator
This commit is contained in:
1 parent
ba03d7a7bf
commit
4e85b696c0
23 files changed
+313
-180
No files matched your search
@@ -42,7 +42,7 @@ export function getMany(query: any, sort: any, page: number, limit: number) {
|
||||
.toArray();
|
||||
}
|
||||
|
||||
export function getMulti(query: any) {
|
||||
export function getMulti(query: any = {}) {
|
||||
return coll.find(query);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user