Closed lwsanty closed 5 years ago
Earlier there was only an option to turn on/off TraceRowsNext.
TraceRowsNext
This pr adds an ability to exclude several OpSQL... options if needed
OpSQL...
const ( OpSQLPrepare = "sql-prepare" OpSQLConnExec = "sql-conn-exec" OpSQLConnQuery = "sql-conn-query" OpSQLStmtExec = "sql-stmt-exec" OpSQLStmtQuery = "sql-stmt-query" OpSQLStmtClose = "sql-stmt-close" OpSQLTxBegin = "sql-tx-begin" OpSQLTxCommit = "sql-tx-commit" OpSQLTxRollback = "sql-tx-rollback" OpSQLResLastInsertID = "sql-res-lastInsertId" OpSQLResRowsAffected = "sql-res-rowsAffected" OpSQLRowsNext = "sql-rows-next" OpSQLPing = "sql-ping" OpSQLDummyPing = "sql-dummy-ping" )
Very nice change, breaking, but I feel the API change is trivial enough noone should have any issues adapting. Thank you very much for this!
Earlier there was only an option to turn on/off
TraceRowsNext
.This pr adds an ability to exclude several
OpSQL...
options if needed