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:
32
32
` db-diff ` can show a human-readable summary of differences between the files:
33
33
34
34
$ 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
36
36
37
- 1 row changed
37
+ 1 rows changed
38
38
39
- Row 1
39
+ Rows 1
40
40
age: "4" => "5"
41
41
42
- 1 row added
42
+ 1 rows added
43
43
44
44
Id: 3
45
45
name: Bailey
46
46
age: 1
47
47
48
- 1 row removed
48
+ 1 rows removed
49
49
50
50
Id: 2
51
51
name: Pancakes
@@ -60,7 +60,7 @@ You can also feed it JSON files, provided they are a JSON array of objects where
60
60
Use ` --show-unchanged ` to include full details of the unchanged values for rows with at least one change in the diff output:
61
61
62
62
% db-diff one.csv two.csv --key=Id --showunchanged
63
- 1 row changed
63
+ 1 rows changed
64
64
65
65
Id: 1
66
66
age: "4" => "5"
@@ -114,6 +114,10 @@ You can use the `--output=jsonfile` and `--outputfile=` option to automatically
114
114
You can use the ` --time ` option to meaure the time it takes:
115
115
116
116
$ db-diff one.csv two.csv --key=Id --time
117
+ .
118
+ .
119
+ .
120
+ Elapsed time: 0.016 seconds
117
121
118
122
## As a Python library
119
123
You can’t perform that action at this time.
0 commit comments