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
- My projects were deleted
Hello everyone, My projects were for some reason deleted. I got an email informing me about project inactivity, when I clicked to activate it again, it was sil...
- Dotnet functions on cloud
I'm trying to deploy my .Net8 functions to my project on cloud.appwrite through the CLI. I'm getting this error.
- All projects deleted
Hello, from the appwrite console last week I re-activated some of my old project and published them, yesterday I checked and none of the apps were working, now ...