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
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...