sdk-for-php
sdk-for-php copied to clipboard
📚 Documentation: Query
💭 Description
Hi,
I installed AppWrite with Composer and updated it to v 3.0.0. How do I use Database queries? "use Appwrite\Query" does not work.
Thanks
👀 Have you spent some time to check if this issue has been raised before?
- [X] I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- [X] I have read the Code of Conduct
I found out how it works. Your php examples should include full examples instead of incomplete snippets. Thanks
$q = new Appwrite\Query();
$query = [ $q->equal("id",$id), ];
@kiloki-official Which documentation are you referring to? I agree that this could be clearer, just not sure what to update :)
The listDocuments PhP example would be clearer with the query part above. Thanks
I found out how it works. Your php examples should include full examples instead of incomplete snippets. Thanks
$q = new Appwrite\Query();$query = [ $q->equal("id",$id), ];
Thanks so much for this entry/reply. I have been agonizing over this for the last few hours. BIG HELP! THANKS!