bonndubz
so i have my queries here, i wanna do something so i can get data that matches the value of one attribute from the documents called "respondingto"
i wanna know if something like this is possible
TypeScript
const query = [
Query.limit(10),
Query.orderDesc('$createdAt')
Query.attribute('respondingto', post.$id) // my idea of what it'd look like
];```
TL;DR
The developer is asking how to query data based on the value of an attribute called "respondingto". They provided a sample code and are wondering if it's possible to achieve this. They want to limit the results to 10 and order them in descending order based on a createdAt field. A solution is not provided in the thread. Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...