Skip to main content

Module lint

Module lint 

Source
Expand description

The portable-SQL lint (issue #8): flags tokens that SQLite and Postgres disagree about, or that betray non-portable DDL. The canonical definition lives in cratefield-core (lint_portable_sql) so the Postgres migration runner selects against the identical predicate (issue #18).

Functionsยง

banned_tokens
Returns (token, explanation) pairs found in sql.
lint_portable_sql
Returns (token, explanation) pairs found in sql.