push_query_label

Function push_query_label 

Source
pub fn push_query_label(_label: impl Into<String>) -> QueryLogGuard
Expand description

Install a query label for the current thread so that executor logs can annotate diagnostics with the originating SQL statement.

No-op in non-test builds.