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

Support MongoDB #1761

Open
mshamaseen opened this issue Mar 14, 2025 · 1 comment
Open

Support MongoDB #1761

mshamaseen opened this issue Mar 14, 2025 · 1 comment

Comments

@mshamaseen
Copy link

Starting from Laravel 11, MongoDB support has been added, but mongod queries are not shown on the debugbar.
I can confirm that MognoDB queries were shown on version 3.x of the MongoDB package and Laravel 10. I am not sure if a change on the MongoDB package or a change in the debugbar package made it stop showing.

@mshamaseen
Copy link
Author

I notcied if I add DB::connection('mongodb')->enableQueryLog() in the ServiceProvider, debugbar starts to record Mongo Queries, otherwise it won't record them!

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

1 participant