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: Outdated CLI command #152

Open
2 tasks done
gurjeetsinghvirdee opened this issue Dec 19, 2024 · 2 comments
Open
2 tasks done

📚 Documentation: Outdated CLI command #152

gurjeetsinghvirdee opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@gurjeetsinghvirdee
Copy link

💭 Description

The issue is when I try to create a document using this command line, it doesn't work!

$ appwrite database createDocument --collectionId <ID> --documentId 'unique()' --data '{ "Name": "Iron Man" }' --permissions 'read("any")' 'read("team:abc")'

Now It works like that

appwrite databases create-document --database-id=<databaseID> --collection-id=<collectionID> --document-id="unique()" --data '{"name": "Walter O Brein"}'

Image

👀 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?

@gurjeetsinghvirdee gurjeetsinghvirdee added the documentation Improvements or additions to documentation label Dec 19, 2024
@stnguyen90
Copy link
Contributor

Fyi, the SDK generator uses this to generate this part of the readme.

@gurjeetsinghvirdee
Copy link
Author

gurjeetsinghvirdee commented Dec 19, 2024

Fyi, the SDK generator uses this to generate this part of the readme.

We also need to update these two as deploy has been updated to push.
Image

@gurjeetsinghvirdee gurjeetsinghvirdee changed the title 📚 Documentation: Create Document command doesn't work 📚 Documentation: Outdated CLI command Dec 20, 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
Projects
None yet
Development

No branches or pull requests

2 participants