Skip to content

Add exec command to fda.#2486

Merged
gz merged 3 commits into
mainfrom
fda-exec-cmd
Sep 15, 2024
Merged

Add exec command to fda.#2486
gz merged 3 commits into
mainfrom
fda-exec-cmd

Conversation

@gz
Copy link
Copy Markdown
Contributor

@gz gz commented Sep 15, 2024

Execute a SQL query in adhoc mode and prints result on stdout.
Makes it easy to pipe it into a file and then diff two results.

@gz gz requested a review from mihaibudiu September 15, 2024 03:50
Comment thread crates/fda/src/cli.rs Outdated
gz added 2 commits September 14, 2024 21:29
Execute a SQL query in adhoc mode and prints result on stdout.

Makes it easy to pipe it into a file and then diff two results.

Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
Comment thread crates/fda/src/cli.rs Outdated
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
@gz gz enabled auto-merge September 15, 2024 05:07
Copy link
Copy Markdown
Contributor

@ryzhyk ryzhyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Database CLIs usually allow executing a SQL script with many statements.
I guess this can be used to achieve the same effect by executing commands one by one. We may want to support that directly in the future.

@gz gz added this pull request to the merge queue Sep 15, 2024
Merged via the queue into main with commit 23e0892 Sep 15, 2024
@gz gz deleted the fda-exec-cmd branch September 15, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants