Query in AppWrite

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