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

Allow multiple statement per invocation #186

Open
dnicolodi opened this issue Jun 15, 2024 · 0 comments
Open

Allow multiple statement per invocation #186

dnicolodi opened this issue Jun 15, 2024 · 0 comments
Labels
feature New feature shell Related to the command shell

Comments

@dnicolodi
Copy link
Collaborator

dnicolodi commented Jun 15, 2024

Currently a statement can be read from the standard input or passed as arguments. However, only one statement per command invocation is supported. Allow multiple statements, including interleaving BQL statements and shell commands. Allow to read statements to be executed from a file. BQL commands should be terminated by a semicolon. Shell commands are prefixed by a dot and terminated by newline. See what the sqlite3 shell does.

It would be nice to keep not requiring a semicolon to terminate BQL commands in the interactive shell, but it may be tricky.

@dnicolodi dnicolodi added shell Related to the command shell feature New feature labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature shell Related to the command shell
Projects
None yet
Development

No branches or pull requests

1 participant