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: Query #12

Open
2 tasks done
kiloki-official opened this issue Jan 7, 2022 · 4 comments
Open
2 tasks done

📚 Documentation: Query #12

kiloki-official opened this issue Jan 7, 2022 · 4 comments

Comments

@kiloki-official
Copy link

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

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@kiloki-official
Copy link
Author

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), ];

@kodumbeats kodumbeats self-assigned this Jan 11, 2022
@kodumbeats
Copy link

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

@kiloki-official
Copy link
Author

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

@basatS7T
Copy link

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!

@kodumbeats kodumbeats removed their assignment Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants