Skip to content

📚 Documentation: Outdated CLI command #152

@gurjeetsinghvirdee

Description

@gurjeetsinghvirdee

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

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions