Commit graph

9 commits

Author SHA1 Message Date
Eelke Klein
eb06c57141 Better result formatting
Cells holding a NULL value now display null in gray.
int, float and numeric columns are right aligned. Integers, floats and numerics are coloured.
Booleans, green or red for true or false. t, f is replaced by TRUE, FALSE
2017-01-18 20:50:53 +01:00
Eelke Klein
fa9787adfd After an insert, update, delete the number of rows affected is reported.
This also makes it clearer the command was executed succesfully.

Times are now printed with no more then two decimals. This prevents confusion
between thousand and decimal seperators.
2017-01-16 18:57:50 +01:00
Eelke Klein
d19741f111 Connection manager can now open a query window for selected connection.
Query window has now buttons with icons made in the designer for better looks.
Depending on received responses from the database the tabcontrol with the message, data and explain tab
now switches to the appropriate tab.
2017-01-15 21:01:40 +01:00
Eelke Klein
a36bf5f7f4 Query, Explain and Cancel are going throught the asyncdbconnection now.
Todo: Notice processing and error reporting.
2017-01-08 09:58:34 +01:00
Eelke Klein
fce51a7b7e The previous async method's are being updated to the ASyncDBConnection class. Connecting is working. 2017-01-06 07:23:40 +01:00
Eelke Klein
8af6bc4ac5 Added explain functionality.
Uses json format with jsoncpp as a parser. Then show it in a QTreeView.
Shows inclusive/exclusive times like explain.despesz does. Also a similar
coloring scheme as applied.
2016-12-29 13:48:35 +01:00
Eelke Klein
0d30dc9080 Query is now executed using std::async 2016-12-27 21:22:49 +01:00
Eelke Klein
3a8cc3d7f0 Het maken van de DB connectie gebeurd nu asynchroon. 2016-12-27 15:41:11 +01:00
Eelke Klein
edc6df25da Initial commit. Contains a simple query tool. 2016-12-26 16:06:55 +01:00