Tags: danvergara/dblab
Tags
feat: execute query at cursor only (#330) * Feat: Execute query at cursor only * Fix tests * refactor(editor): make the queryAtCursor function returns the line the cursor is on * fix(editor): check if the query is empty --------- Co-authored-by: Daniel Omar Vergara Pérez <daniel.omar.vergara@gmail.com>
feat: add read only mode (#323) * feat(cmd): add a readonly bool flag to enable the read-only connection feature * feat(connection): add a ReadOnly field to the Options struct * feat(client): add a readOnly bool flag to enable the read only mode and execute queries that force the connection to enter into read only mode * feat(connection): handler sql server differently by adding a parameter to the connection string (dsn) * test(client): add a test case to validate the the read-only in the client * add support for read-only mode in the config file * docs: update doc files with the read-only feature * test(client): fix the client test to validate the read only query
feat: query history menu (#319) * feat(bubbletui): add the query history model * some fixes * feat: full functionality complete * chore(bubbletui): revert the loaded query history to show it in descending order based on the timestamp * docs(history): add doc comments * feat(editor): add ctrl+d keybinding to clear the editor * test(history): add test to validate the history package content * feat(editore): add vertical motions inside the editor for normal mode * fix(history): format test file * docs: update the readme file and the docs website * refactor(client): call ExecContext for data manipulation queries * feat(bubbletui): show execution time and rows affected * docs: update screenshots
feat: add multi queries (#315) * feat(client): add method to run multiple queries concurrently * feat(bubbletui): run the concurrent query method asynchronously as tea.Cmd * feat(editor): split the queries by ; from the editor and pass to the executeQueryMsg message * feat(resultset): show the queries and potential errors in the resulset * style(bubbletui): remove unused variables * docs: add doc comments * test(client): add test to validate asyncquery * docs: update the documentation with the multi queries feature * docs: add screenshots to the documentation * fix(bubbletuie): clears cancelQuery whenever a query result comes back * docs: update the docs to let the user know ctrl+c always quits the app
PreviousNext