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

Smarter splitting by ; #19

Open
Akeboshiwind opened this issue Mar 14, 2024 · 1 comment
Open

Smarter splitting by ; #19

Akeboshiwind opened this issue Mar 14, 2024 · 1 comment

Comments

@Akeboshiwind
Copy link
Collaborator

Akeboshiwind commented Mar 14, 2024

Currently xt-fiddle can break if there's a semicolon in a string.


Some ideas for solutions:

  1. Improve splitter to know when it's in a string and unescaped
    • Downside to this is that it has to be replicated in the docs fiddle as well
  2. Split each transaction into it's own editor in the UI
    • I think this would look crap tbh
  3. Ask for support for semicolons in the xtdb sql api
    • I was chatting w/ Joe and he thought this would probably be for the best anyway as other tools will probably want/need this support too
    • As well as this enables us to support copy-pasting multiple txs from the docs and other places too
@Akeboshiwind
Copy link
Collaborator Author

xtdb/xtdb#3242

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

No branches or pull requests

1 participant