File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,20 @@ Consider two CSV files:
3232` db-diff ` can show a human-readable summary of differences between the files:
3333
3434 $ db-diff one.csv two.csv --key=Id
35- 1 row changed, 1 row added, 1 row removed
35+ 1 rows changed, 1 rows added, 1 rows removed
3636
37- 1 row changed
37+ 1 rows changed
3838
39- Row 1
39+ Rows 1
4040 age: "4" => "5"
4141
42- 1 row added
42+ 1 rows added
4343
4444 Id: 3
4545 name: Bailey
4646 age: 1
4747
48- 1 row removed
48+ 1 rows removed
4949
5050 Id: 2
5151 name: Pancakes
@@ -60,7 +60,7 @@ You can also feed it JSON files, provided they are a JSON array of objects where
6060Use ` --show-unchanged ` to include full details of the unchanged values for rows with at least one change in the diff output:
6161
6262 % db-diff one.csv two.csv --key=Id --showunchanged
63- 1 row changed
63+ 1 rows changed
6464
6565 Id: 1
6666 age: "4" => "5"
@@ -114,6 +114,10 @@ You can use the `--output=jsonfile` and `--outputfile=` option to automatically
114114You can use the ` --time ` option to meaure the time it takes:
115115
116116 $ db-diff one.csv two.csv --key=Id --time
117+ .
118+ .
119+ .
120+ Elapsed time: 0.016 seconds
117121
118122## As a Python library
119123
You can’t perform that action at this time.
0 commit comments