Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SQL as input query language #1400

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Add support for SQL as input query language #1400

merged 1 commit into from
Nov 15, 2024

Conversation

elprans
Copy link
Member

@elprans elprans commented Nov 14, 2024

The new \set language sql toggle switches the CLI into SQL mode. The
query subcommand also gained the --input-language argument here,
though it only works with --tab-separated output mode.

@1st1
Copy link
Member

1st1 commented Nov 14, 2024

We should have \sql and \edgeql aliases.

.gitignore Outdated Show resolved Hide resolved
src/repl.rs Show resolved Hide resolved
src/repl.rs Show resolved Hide resolved
Copy link
Contributor

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

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

Looks good, but the shared-client-testcases changes should probably be reverted.

The new `\set language sql` toggle switches the CLI into SQL mode.  The
`query` subcommand also gained the `--input-language` argument here,
though it only works with `--tab-separated` output mode.
@elprans elprans merged commit ac7b368 into master Nov 15, 2024
17 checks passed
@elprans elprans deleted the lng branch November 15, 2024 16:15
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.

3 participants