File: sqlreduce.1

package info (click to toggle)
sqlreduce 1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,172 kB
  • sloc: python: 1,026; sql: 40; sh: 22; makefile: 14
file content (34 lines) | stat: -rw-r--r-- 883 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.49.3.
.TH SQLREDUCE "1" "January 2024" "sqlreduce 1.3" "User Commands"
.SH NAME
sqlreduce \- Reduce verbose SQL queries to minimal examples
.SH DESCRIPTION
usage: sqlreduce [\-h] [\-d DATABASE] [\-f FILE] [\-\-sqlstate] [\-t TIMEOUT]
.IP
[\-\-debug]
[query ...]
.PP
Reduce a SQL query to the minimal query throwing the same error
.SS "positional arguments:"
.TP
query
Query to reduce to minimum
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-d\fR DATABASE, \fB\-\-database\fR DATABASE
Database or connection string to use
.TP
\fB\-f\fR FILE, \fB\-\-file\fR FILE
Read query from file [Default: stdin]
.TP
\fB\-\-sqlstate\fR
Reduce query to same SQL state instead of error
message
.TP
\fB\-t\fR TIMEOUT, \fB\-\-timeout\fR TIMEOUT
Statement timeout [Default: 500ms]
.HP
\fB\-\-debug\fR