With the below code, I want to fetch 1.0 without getting a response of Bad: element
dynamic appVersionFetch = await appWriteLogicExtender.databases
.listDocuments(
databaseId: "app_data",
collectionId: "app_version",
queries: [
Query.equal('app_version', ["app_version_key"]),
]);
newAppVersion = appVersionFetch.documents.first.data["app_version_id"];
this is the indexing pattern used
fetch data via listDocumenta()
you don't pass the index key...it's used automatically
you're supposed to put the value in the query
okay, that's 1.0 in the query? @Steven
I appreciate you Sir @Steven
[SOLVED] fetch data via listDocuments()
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.