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
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...