Dan Sosedoff
239037b4c6
Add query execution stats to api endpoint ( #629 )
2022-12-25 13:25:18 -06:00
Dan Sosedoff
1897bef08d
Results struct cleanup ( #627 )
...
* Add results format test
* Init results slice before formatting data
* Add extra test for nil check in CSV function
2022-12-21 15:02:40 -06:00
Dan Sosedoff
38051b9465
Add support for user functions ( #608 )
...
* Add initial support for functions
* Show functions definitions
* Fix client tests
* Fix schema objects search
* Perform partial matching for functions
* Add function test
* Make sure to close client connections so that database could be dropped in tests
* Fix lint
* Allow to copy the view/functions definitions
* Nits
2022-12-07 11:58:07 -06:00
Dan Sosedoff
f48cc5f007
Use go embed to load queries from static files ( #607 )
2022-12-06 17:41:46 -06:00
Dan Sosedoff
be81fdab41
Fix panic with time marshalling
2022-12-05 21:47:39 -06:00
Dan Sosedoff
f9e376a117
Code cleanup; add make lint task
2022-12-01 16:51:12 -06:00
Dan Sosedoff
9bfec11b48
Fix linting errors
2022-11-14 16:10:50 -06:00
Dan Sosedoff
706caa44bf
Serialize binary bytea cols into hex/base64 ( #537 )
...
- Adds binary serialization into hex/base64
- Default codec is base64
- Codec can be changed via `--binary-codec` CLI option
2021-12-29 11:03:50 -06:00
Dan Sosedoff
8428d268b1
Lint
2019-11-02 13:00:23 -05:00
Dan Sosedoff
903a265676
Fix JSON marshal panic when dealing with NaN values
2018-11-27 16:51:51 -06:00
Dan Sosedoff
26ea9fc1b8
Fix the JSON beautifier flag
2017-09-16 21:57:04 -05:00
Dan Sosedoff
d786d0018e
Make JSON formatting a feature flag, enabled by default
2017-09-13 23:27:54 -05:00
Dan Sosedoff
e44e66a8e8
Use indent marshaller for JSON results by default
2017-08-04 22:10:12 -05:00
Dan Sosedoff
790833dc4e
Specify cell timestamp layout for CSV export, #163
2016-06-27 22:38:48 -05:00
Dan Sosedoff
3167d96cfc
use a different query to fetch materialized view structure
2016-01-17 15:00:33 -06:00
Dan Sosedoff
3af20f9327
Display materialized views
2016-01-14 21:30:19 -06:00
Dan Sosedoff
9ffa05affb
Initial support for multiple schemas
2016-01-12 21:33:44 -06:00
Dan Sosedoff
38c971ab49
Implement pagination and simple filtering
2016-01-08 14:16:53 -06:00
Dan Sosedoff
28178e46de
Format big floats as well
2016-01-07 20:10:53 -06:00
Dan Sosedoff
fbb8ffbfc6
Encode bigints as strings
2016-01-07 11:27:16 -06:00
Dan Sosedoff
c7e58f0828
Remove duplicate code
2016-01-04 18:35:05 -06:00
Dan Sosedoff
91d8d3ee83
Move result struct into its own file
2016-01-04 18:19:16 -06:00