sdk-for-php icon indicating copy to clipboard operation
sdk-for-php copied to clipboard

📚 Documentation: Query

Open kiloki-official opened this issue 3 years ago • 4 comments
trafficstars

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

kiloki-official avatar Jan 07 '22 21:01 kiloki-official

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 avatar Jan 07 '22 23:01 kiloki-official

@kiloki-official Which documentation are you referring to? I agree that this could be clearer, just not sure what to update :)

kodumbeats avatar Jan 11 '22 19:01 kodumbeats

The listDocuments PhP example would be clearer with the query part above. Thanks

kiloki-official avatar Jan 13 '22 08:01 kiloki-official

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!

basatS7T avatar Mar 28 '22 10:03 basatS7T