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
How to work with Mongodb #485
Comments
You need to do this: \DB::connection('mongodb')->enableQueryLog(); More information on mongodb/laravel-mongodb#600 |
ebisbe is correct. However, Mongo ID and Date objects won't render correctly.
The values are blank. Never tracked down the cause. |
The same solution recommended by @ebisbe also works for Clockwork (a similar tool to Laravel Debugbar, but it uses a browser extension instead, so it also works with non-HTML responses). But I would also mention that you probably only want to turn on the query log in debug mode with something like this (in your AppServiceProvider.php's boot() function):
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'm use https://github.com/jenssegers/laravel-mongodb
and use Laravel dedugbar, in queries tab not show list query database.
The text was updated successfully, but these errors were encountered: