Provides the ability to execute query statements by writing SQL statements through Codemirror.
If you place the cursor on “;” using the foldable function, the SQL statement area can be extracted and executed.
By using the foldable function, it extracts the text of the foldable part excluding keywords such as SELECT and UPDATE.
select * from tpcds.sf1.call_center;
→ The select statement is not extracted from the foldable function.
→ The select statement does not folded.
Is there a way to extract keywords (header) such as select or update from a foldable area? Or is there a way to extract the SQL statement area that is set as foldable?