sqlfinder 0.0.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +5 -7
- data/sqlfinder.gemspec +1 -1
- metadata +1 -1
data/README.txt
CHANGED
@@ -5,10 +5,8 @@ SQL Finder is an executable gem that finds designated SQL statements in log/trac
|
|
5
5
|
== Use Case
|
6
6
|
|
7
7
|
Developers often have to comb through enormous log or trace files for SQL statements.
|
8
|
-
|
9
|
-
|
10
|
-
trace files. SQL Finder makes this process much easier by automatically doing a
|
11
|
-
case-insensitive search for SQL statements.
|
8
|
+
SQL Finder makes this process much easier by automatically doing a case-insensitive
|
9
|
+
search for SQL statements.
|
12
10
|
|
13
11
|
== Running the program
|
14
12
|
|
@@ -26,8 +24,8 @@ to search for statements involving a particular table, or both.
|
|
26
24
|
|
27
25
|
<tt>-h</tt>:: Help screen.
|
28
26
|
<tt>-o <file name></tt>:: Tells SQL finder to write the captured statements to the indicated file instead of SDTOUT
|
29
|
-
<tt>-t <
|
30
|
-
<tt>-k <list of keywords></tt>:: Given a comma-separated set of SQL
|
27
|
+
<tt>-t <table name></tt>:: Tells SQL Finder to capture SQL statements only if they contain the indicated table name
|
28
|
+
<tt>-k <list of keywords></tt>:: Given a comma-separated set of SQL keywords (for example: insert,update), SQL Finder will capture statements only if they contain one of the indicated keywords
|
31
29
|
|
32
30
|
Here are some sample commands:
|
33
31
|
|
@@ -45,4 +43,4 @@ findsql -k select,insert ep_trace.txt
|
|
45
43
|
|
46
44
|
findsql -k select,insert -t arcconfiguration -o trace.out ep_trace.txt
|
47
45
|
|
48
|
-
* Writes all SELECT and INSERT statements for the ArcConfiguration table to
|
46
|
+
* Writes all SELECT and INSERT statements for the ArcConfiguration table to trace.out instead of STDOUT
|
data/sqlfinder.gemspec
CHANGED