pub fn lint_portable_sql(sql: &str) -> Vec<(&'static str, &'static str)>Expand description
Returns (token, explanation) pairs found in sql.
This is the predicate behind both fz doctor’s migration lint and the
cratefield-adapter-postgres runner’s rule that a module’s sqlite
migration set may be applied to Postgres only when it passes.
SQL comments (-- ..., /* ... */) and single-quoted string literals
are ignored: they are not DDL. Double-quoted identifiers are not
ignored, because they are DDL and portable in both dialects.