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

Fix issue 948 #1018

Merged
merged 1 commit into from
Nov 15, 2022
Merged

Fix issue 948 #1018

merged 1 commit into from
Nov 15, 2022

Conversation

aziz-mu
Copy link
Contributor

@aziz-mu aziz-mu commented Nov 14, 2022

This PR fixes issue #948 by adding the following functionality:

  • Allowing pasting of multi-line input.
  • An unfinished query can now be finished on another line, queries are only processed once they end in semicolon ';'
  • Prompt change from 'kuzu>' to '..>' to show continuation of previous lines
  • Allow multiple queries to be executed on the same line, as long as they are separated by semicolons. E.g. MATCH (a:person) RETURN a.fName; MATCH (a:person) RETURN *;

tools/shell/embedded_shell.cpp Outdated Show resolved Hide resolved
@aziz-mu aziz-mu merged commit 78d938a into master Nov 15, 2022
@aziz-mu aziz-mu deleted the multi-line-CLI branch November 15, 2022 19:04
@ray6080 ray6080 changed the title Added multi-line query functionality Fix issue 948 Jan 29, 2023
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.

None yet

2 participants