for example in teams' pref i have
pref = {
"code": "CDJKUE"
}
I have created query like below
TeamList teamList = await teams.list(queries: [
Query.equal("prefs", ["CDJKUE"])
]);
type of queries in teams is
{List<String>? queries}
{"error":"AppwriteException: general_argument_invalid, Invalid queries param: Invalid query: Attribute not found in schema: prefs (400)"}
I want to find the team name from prefs data code
teamList:: {$id: 67d20cf6ed94dac54a81, $createdAt: 2025-03-12T22:38:47.201+00:00, $updatedAt: 2025-03-12T22:38:47.517+00:00, name: Rock Team, total: 1, prefs: {data: {code: GZFRD6}}}
in query does it support like Query.equal("prefs.data.code", ["CDJKUE"]);
Recommended threads
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...