Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dto-language.mdx #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/object/view/dto-language.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ This code has the exact same function as the previous example, but no longer ass

- For view and input, the `flat` function can only be used for referential associations *(one-to-one or many-to-one)*, not collection associations *(one-to-many or many-to-many)*. It is used to promote the properties of associated DTOs to the current DTO type to obtain a flattened object without associations.

- For specification, the `flat` function does not have the above restrictions and can be used for collection associations. Please check (../../query/super_qbe).
- For specification, the `flat` function does not have the above restrictions and can be used for collection associations. Please check [@Super QBE] (../../query/super_qbe).

Take the `TreeNode` entity in the official example *(in fact, this example is wrong, we will discuss this issue later)*:

Expand Down Expand Up @@ -1490,4 +1490,4 @@ As mentioned earlier, the DTO language has two more powerful features that are n

- [Handling Null Values in Input DTO](../../mutation/save-command/input-dto/null-handling)

- [Specification DTO, Super QBE](../../query/super_qbe)
- [Specification DTO, Super QBE](../../query/super_qbe)