Skip to content

Commit

Permalink
add the docs changes that was manually added to dolthub docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifersp committed Nov 14, 2023
1 parent c676ac2 commit be867a2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions go/cmd/dolt/commands/query_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ import (
)

var queryDiffDocs = cli.CommandDocumentationContent{
ShortDesc: "Shows table diff between two queries",
LongDesc: "Will execute two queries and compare the resulting table sets",
ShortDesc: "Calculates table diff between two queries",
LongDesc: "Will execute two queries and compare the resulting table sets\n\n" +
"`<query1>`: A SQL `SELECT` query to be executed.\n\n" +
"`<query2>`: A SQL `SELECT` query to be executed.\n\n" +
"**Note**\n\n" +
"Query diff is performed brute force and thus, will be slow for large result sets.\n" +
"The algorithm is super linear (`n^2`) on the size of the results sets.\n" +
"Over time, we will optimize this to use features of the storage engine to improve performance.",
Synopsis: []string{
`[options] [{{.LessThan}}query1{{.GreaterThan}}] [{{.LessThan}}query2{{.GreaterThan}}]`,
},
Expand Down

0 comments on commit be867a2

Please sign in to comment.