Skip to content

Do not rely on DB::connection() to get information in query collector #1779

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cweiske
Copy link

@cweiske cweiske commented Apr 9, 2025

Instead directly use the query's own connection object.

This makes it possible to log queries for custom non-sql connections into debugbar relatively easily.

Related: ed37d1a
This commit introduced the usage of DB::connection().

Resolves: #1778

Instead directly use the query's own connection object.

This makes it possible to log queries for custom non-sql connections
into debugbar relatively easily.

Related: ed37d1a
This commit introduced the usage of DB::connection().

Resolves: barryvdh#1778
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

Successfully merging this pull request may close these issues.

Queries need a real database connection since v3.14.0
1 participant