removeStale method

void removeStale(
  1. String sql
)

Removes (and releases) the statement of sql, when it's stale.

Implementation

void removeStale(String sql) {
  var statement = _statements.remove(sql);
  if (statement != null) {
    ++info.stale;
    onEvict(statement);
  }
}