Commit Graph
4087 Commits
Author SHA1 Message Date
Joe Nelson 351b44ed52 Efficiently include count and limit range responses 2014-08-04 21:25:40 -07:00
Joe Nelson eb126ab49f Fix where clause, add count in headers 2014-08-03 11:26:02 -07:00
Joe Nelson c278a78edf Create grammar to manipulate query monoids 2014-08-02 21:04:58 -07:00
Adam C. Baker 60e1f920ab handle empty body on get request. 2014-08-02 16:52:13 -07:00
Joe Nelson 50cd701624 Using pattern matching for routing 2014-08-02 16:34:08 -07:00
Joe Nelson ce361643fa Accept range headers
TODO: response headers and proper codes
2014-08-02 15:27:45 -07:00
Joe Nelson 6fa5cc2683 Create README.md 2014-08-02 11:10:08 -07:00
Joe Nelson a7451f0e96 Idomatic range creation 2014-07-28 17:36:00 -07:00
Joe Nelson f6a4a98e74 Parse range queries 2014-07-28 17:23:24 -07:00
Joe Nelson 5760ec3620 Show (possibly composite) pkey in OPTIONS response 2014-07-20 23:32:26 -07:00
Joe Nelson 57af2bf511 Use versioned schemas in all requests
Fixes #7
2014-07-18 21:13:14 -07:00
Joe Nelson dd1547adea Use accept header version to set schema 2014-07-18 00:22:39 -07:00
Joe Nelson c4550f97b0 Report sql errors to client 2014-07-13 11:09:44 -07:00
Joe Nelson a28553dd45 Simplify app with a do block 2014-07-13 10:31:47 -07:00
Joe Nelson 919d827b24 Make response logic more dry and lazy 2014-07-13 10:18:58 -07:00
Joe Nelson d7a3685002 Split into another module 2014-07-12 16:18:03 -07:00
Joe Nelson 7f29e5f448 Allow filtering in table view 2014-07-12 13:41:43 -07:00
Joe Nelson c64dcc409f WIP Improperly quoted where predicates 2014-07-11 00:04:55 -07:00
Joe Nelson 57f4a51dcf Use Statement in prepare dynamic 2014-07-09 19:58:22 -07:00
Joe Nelson bbbb327855 Switch to HDBC
Fixes #2
2014-07-08 23:29:09 -07:00
Adam C. Baker 53d90987ff don't just get the default host for every connect option. 2014-07-06 20:12:23 -07:00
Adam C. Baker 91efcba6e9 parse db url. Fixes #5. 2014-07-06 20:03:54 -07:00
Joe Nelson 3f2e20a9a7 Respond with JSON mime type
Fixes #6
2014-07-06 18:43:08 -07:00
Joe Nelson e8e8d96e97 Fix quasi-quote in tables function 2014-07-06 18:42:31 -07:00
Joe Nelson 293d5f6581 Quasi-quote the SQL
Fixes #1
2014-06-23 12:37:10 -07:00
Joe Nelson e28c875502 Show schema on OPTION and rows on GET 2014-06-22 23:58:26 -07:00
Joe Nelson dd06232369 Turn column info into named hash 2014-06-22 16:33:48 -07:00
Joe Nelson 884f06b8cf Split db functions into separate module 2014-06-22 16:04:28 -07:00
Joe Nelson a3b2d8a9ba Configure server port with command line arguments 2014-06-22 15:28:10 -07:00
Joe Nelson dbf8e388ec Improve style 2014-06-22 12:56:19 -07:00
Joe Nelson 735a080cb1 Show table column information at /table_name 2014-06-21 17:41:20 -07:00
Adam C. Baker 57fa142af8 better table json properties. 2014-06-21 16:07:05 -07:00
Joe Nelson c1da42ea3f Show all tables, not just views 2014-06-21 15:51:36 -07:00
Joe Nelson f5bda4bb96 Support ghc 7.6 2014-06-21 12:03:46 -07:00
Joe Nelson ce8392bf66 Real deal haskell! 2014-06-17 01:51:27 -07:00
Joe Nelson a73ed2c5fd Bools are YES/NO in information_schema 2014-06-16 23:04:26 -07:00
Joe Nelson c8e0110755 Initial commit 2014-06-16 21:36:55 -07:00