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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...