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
- Error updating attribute in table with r...
I have two tables with a bidirectional relationship attribute, one called "amenities" and the other "reservations". When I try to update a field called "pricePe...
- Google's "Choose an account" screen stuc...
I've been struggling with this problem on my servers (self hosted 1.6.0 & 1.7.4) , multiple projects , multiple apps , and I think I have reached a very strange...
- Bandwidth limit for your organization ha...
I received an alert that I exceeded the Free plan bandwidth limit (showing 5.86 GB), but my dashboard tells a different story. The usage stats there are much lo...