dvSanitizeSqlForTelemetry function

String dvSanitizeSqlForTelemetry(
  1. String sql
)

sql with every literal value replaced by ?.

A statement Dartvel writes binds its values, so this usually changes nothing; the statement somebody wrote by hand with an email address in it is the one it is for.

Implementation

String dvSanitizeSqlForTelemetry(String sql) =>
    sql.replaceAll(_literals, '?');