Мухаммадамин
Is it possible to set a custom name to the relation attribute when getting a list of documents?
Here boardId
is an object, but in the cloud, it contains just a string which is ID of a board.
As I'm using TS, it would be easy to manage if there is a possible way to change the name when fetching documents: like
TypeScript
{
boardId: "asd9e12hdasde12",
board: {
$id: "a1h23bjhb1",
name: "BoardName"
}
}
TL;DR
Is there a way to set a custom name for the relation attribute when getting a list of documents? In the example provided, `boardId` is an object but in the cloud, it only contains a string which is the board ID.
Solution: It would be helpful if there was a way to change the name when fetching documents, such as:
```
{
boardId: "asd9e12hdasde12",
board: {
$id: "a1h23bjhb1",
name: "BoardName"
}
}
``` Recommended threads
- Account Status
Hello! I'm a student and am in the GitHub Student Organization, and according to GitHub, I am recieving pro membership via the Student Dev Pack. However, when I...
- Refund Request - Just purchased 2 mins a...
Hello Appwrite Team! I am a student and like 2 minutes ago I purchased Appwrite Pro ($15) because I had reached a limit on the number of attributes in a collect...
- Seed db
hello there... is this correct way to seed appwrite