Commit Graph

27 Commits

Author SHA1 Message Date
kaidaguerre
ad3e6447c0 Add support for connecting to a remote database, andf for connecting to Stweampipe #1175 2021-11-24 16:44:26 +00:00
Binaek Sarkar
d55903d44b Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109 2021-11-24 13:52:01 +00:00
kaidaguerre
3bb4bf97d3 Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152. Close #1085 2021-11-21 10:53:33 +00:00
kaidaguerre
35a6fe9e34 Add support for connecting to a remote database client. Closes #908 2021-09-15 13:29:26 +01:00
kaidaguerre
7783b38cdd Add prepared statement name column to steampipe_query and steampipe_control reflection tables. Closes #890 2021-09-13 11:54:49 +01:00
kai
f0d4af270d query parse error puts interactive console in a bad state. Closes #880 2021-09-13 10:49:30 +01:00
kaidaguerre
93e714124e In batch query mode, only create prepared statements which are required. Closes #866 2021-09-08 12:41:28 +01:00
Binaek Sarkar
df60c088dd Fix for history persistence of empty strings. Closes #850 (#851)
* func rename

* do not store to history if blank

* update comments

Co-authored-by: kaidaguerre <kai@turbot.com>
2021-09-07 10:14:13 +01:00
kaidaguerre
1f0ae2bbe9 Errors in async init are not reported in interactive client if a query is entered before init is complete. Closes #843 2021-09-03 16:56:18 +01:00
kai
3cc5222fb8 improve error reporting for failure to parse params 2021-09-02 21:34:48 +01:00
kai
b0060b910d ignore error parsing a prepared statement - just treat query as raw sql 2021-09-02 21:34:48 +01:00
kai
7ef20e443a ignore error parsing a prepared statement - just treat query as raw sql 2021-09-02 21:34:48 +01:00
kai
01e7392c3d show error for failed param parse. Handle no params passed. 2021-09-02 21:34:46 +01:00
kai
95ad504cd7 fix interactive param parsing 2021-09-02 21:34:43 +01:00
kai
6f605ffccd refactor parsing 2021-09-02 21:34:43 +01:00
kai
1fe09ccf07 InitiaL implementation - no named params or defaults 2021-09-02 21:34:43 +01:00
Binaek Sarkar
f8e0bd1e7e Add support for terminal mode detection for syntax highlighting. Closes #804. Closes #744 2021-08-26 15:01:02 +01:00
Binaek Sarkar
8110140d33 Persist syntax highlighting after query is executed. Closes #746 2021-08-24 13:01:12 +01:00
Binaek Sarkar
75f30a5ade Fix for disappearing prompt after updating FDW in interactive mode. Closes #785 2021-08-18 16:21:22 +01:00
kaidaguerre
9b941ecdcf Add support for variables. Closes #754 2021-08-06 11:10:53 +01:00
Binaek Sarkar
462ad69dc0 Fix issue where prompt disappears if any messages are shown. Closes #713 2021-08-05 15:10:11 +01:00
Binaek Sarkar
aa62e99790 Fix for spinner not getting shown if interactive prompt is waiting for init to finish before query. Closes #671 2021-08-05 14:16:02 +01:00
Binaek Sarkar
7df78a9ac7 Add support for syntax highlighting in interactive prompt. Closes #64 2021-08-03 16:20:25 +01:00
Binaek Sarkar
9fc27bdb6c Add support for controlling the fdw cache from the interactive prompt. Closes #688 2021-08-03 15:21:18 +01:00
kaidaguerre
f9e5a8d10c Fix errors during async interactive startup leaving the prompt in a bad state. Refactor the ResultsStreamer to avoid needing to call Done() before restarting the prompt. Closes #716. Closes #728 2021-08-02 17:05:43 +01:00
kaidaguerre
9f35a35207 Fix interactive console becoming unresponsive after semicolon query. Closes #700 2021-07-29 18:37:03 +01:00
kaidaguerre
b7aa42ceb3 Refactor service code to make it simpler to support external database connections. Closes #696 2021-07-26 17:07:28 +01:00