logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sqlreduce - Reduce verbose SQL queries to minimal examples

Description

       usage: sqlreduce [-h] [-d DATABASE] [-f FILE] [--sqlstate] [-t TIMEOUT]

              [--debug] [query ...]

       Reduce a SQL query to the minimal query throwing the same error

   positionalarguments:
       query  Query to reduce to minimum

   options:-h, --help
              show this help message and exit

       -d DATABASE, --database DATABASE
              Database or connection string to use

       -f FILE, --file FILE
              Read query from file [Default: stdin]

       --sqlstate
              Reduce query to same SQL state instead of error message

       -t TIMEOUT, --timeout TIMEOUT
              Statement timeout [Default: 500ms]

       --debug

sqlreduce 1.3                                     January 2024                                      SQLREDUCE(1)

Name

       sqlreduce - Reduce verbose SQL queries to minimal examples

See Also