#[SOLVED] fetch data via listDocuments()

7 messages · Page 1 of 1 (latest)

gleaming steeple
#

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()

open bridge
open bridge
gleaming steeple
#

okay, that's 1.0 in the query?
@open bridge

gleaming steeple
#

I appreciate you Sir @open bridge