Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📚 Documentation: Graphql: needs more example #794

Open
2 tasks done
pierroo opened this issue Mar 12, 2024 · 3 comments
Open
2 tasks done

📚 Documentation: Graphql: needs more example #794

pierroo opened this issue Mar 12, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@pierroo
Copy link

pierroo commented Mar 12, 2024

💭 Description

The Graphql documentation only uses authenticated related examples.
Not a single example to query data, update/insert/delete documents etc.

And here I am trying to "guess" what is the name of the mutation to insert a document, since "createDocument" doesn't seem to exist.

Am I missing something?

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@pojith
Copy link

pojith commented Mar 12, 2024

can i take this issue

@pierroo
Copy link
Author

pierroo commented Mar 12, 2024

not sure what you mean by that @pojith , but if you happen to know how we can insert/update/delete with graphql can you share the info here? :)

EDIT: and while I'm at it, how to "filter" and order databasesListDocuments as well
ex:

databasesListDocuments(
              databaseId: $databaseId,
              collectionId: $chatId,
            // how to filter for example: from_id: $myUid
            // how to order for example $updatedAt DESC
            ) {
              documents {
                _id
                data
              }
            }

@pojith
Copy link

pojith commented Mar 12, 2024

i am having a reach about it
i will explain it later

@EVDOG4LIFE EVDOG4LIFE transferred this issue from appwrite/appwrite Mar 12, 2024
@EVDOG4LIFE EVDOG4LIFE added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants