pub fn guard_code_sql(opts: CodeGuardOptions) -> Result<CodeGuardReport>Expand description
Scan source code for SQL and guard against dangerous operations.
This function:
- Scans the specified directory for SQL in source code
- Parses and analyzes each SQL statement found
- Identifies dangerous operations that require confirmation
- Returns a comprehensive report