Find SQL in code and resource files

Proprietary

Find SQL in code (e.g. in string literals) and in resources like those ending with .sql.

org.openrewrite.sql.FindSql

Optional

markSourceBoolean

Whether to mark each occurrence in source with a search marker. Defaults to true; set to false to leave source untouched and report only to the data table, as an analysis-only pipeline requires.

mod run . --recipe=org.openrewrite.sql.FindSql

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.