You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/graphql/dtos.mdx
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -650,7 +650,15 @@ export class TodoItemDTO {
650
650
```
651
651
652
652
:::info
653
-
When we use the `@FilterableRelation` decorator or other [relation decorators](./relations.mdx) you might want to define the default sorting criteria since its default value is `[]`, meaning if you do **not** specify it you will receive the results as your underlying database decided to return it which makes it unreliable.
653
+
When we use the `@Relation` decorator or other [relation decorators](./relations.mdx) you might want to define the default sorting criteria like this:
Note that default value for `defaultSort` is `[]`, meaning if you do **not** specify it you will receive the results as your underlying database decided to return it which makes it unreliable.
0 commit comments