Skip to main content

summarize

Function summarize 

Source
pub fn summarize(sql: &str) -> Option<String>
Expand description

A low-cardinality summary of sql for db.query.summary and the span name, as the database conventions describe it: each operation and the tables it names, in the order they appear, as written, such as SELECT users or INSERT shipping_details SELECT orders. None when sql names no operation this recognizes.