beanquery icon indicating copy to clipboard operation
beanquery copied to clipboard

Allow to enter multi-line BQL queries in the shell

Open dnicolodi opened this issue 10 months ago • 0 comments

This most likely requires moving away from a simple cmd.Cmd interpreter loop and it requires the parser to be able to detect incomplete commads. It may be very difficult to achieve this without requiring BQL statements to be terminated by a semicolon, because the SQL grammar is otherwise ambiguous: there is not way to know if SELECT 1 is a standalone statement ot is the begginning of a more comple statement SELECT 1 FROM x WHERE ...

dnicolodi avatar Jan 16 '25 14:01 dnicolodi