Ahmed Majid
Ahmed Majid

Follow

Ahmed Majid

Follow
Query in AppWrite

Photo by Tobias Fischer on Unsplash

Query in AppWrite

Ahmed Majid's photo
Ahmed Majid
·Jan 6, 2022·

1 min read

Hello,

AppWrite is open source BAAS alternative for Firebase, They just released version 0.12 which bring new query tools, the problem that their docs doesn't have enough explanation on how to use them. To search query attribute in document (database) you can do it in Swift like this:

database.listDocuments(
            collectionId: "1111",
            queries: [Query.search("name", value: searchText)]
)
 
Share this