You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently stumbled across this great feature that allows read-only connections, but I do not see any queries using the "read" connection in the SQL Log panel within DebugKit.
Does DebugKit support these "read" connections? Perhaps I'm missing some configuration setting?
The panel code seems to look for unique connections, in this cause it finds "default", but the "read" and "write" config keys specified seem to both be a part of "default", so they're not seen as two different connections. The end result is that the SQL Log panel only shows "write" connections, no "read" connections are visible.
@LordSimal closing this issue may have been a bit hasty. While I indeed see the Role column, I only see write queries within the DebugKit SQL panel. As I convert queries to use the read role, they disappear from the panel altogether.
I suspect that was at least part of what @markstory meant in his comment above; the DebugKit SQL panel doesn't appear to be aware of read queries as far as I can tell.
I recently stumbled across this great feature that allows read-only connections, but I do not see any queries using the "read" connection in the SQL Log panel within DebugKit.
Does DebugKit support these "read" connections? Perhaps I'm missing some configuration setting?
The panel code seems to look for unique connections, in this cause it finds "default", but the "read" and "write" config keys specified seem to both be a part of "default", so they're not seen as two different connections. The end result is that the SQL Log panel only shows "write" connections, no "read" connections are visible.
Here is the original PR for this feature: cakephp/cakephp#16785
The text was updated successfully, but these errors were encountered: