Ruslan Talpa
|
ef08af359c
|
Fix for #334
|
2015-11-02 14:44:45 +02:00 |
|
Pierre Radermecker
|
2cfe3651b4
|
Add a test case for issue #334
|
2015-10-30 19:16:59 +01:00 |
|
Diogo Biazus
|
4369a5617e
|
Fixes 500 when set returning function returns an empty row set [fix #332]
|
2015-10-27 21:19:55 -04:00 |
|
Ruslan Talpa
|
6ba4dc4617
|
Fix for #302
|
2015-10-08 11:33:42 +03:00 |
|
Ruslan Talpa
|
b675276f31
|
merge new test from @diogob
|
2015-10-04 07:26:05 +03:00 |
|
Diogo Biazus
|
4dd508a628
|
Adds a failing spec for child relation (comments) using a composite foreign key (references to users_tasks)
|
2015-10-03 15:02:02 -04:00 |
|
Ruslan Talpa
|
c7666c0a67
|
tests for table relations & bugfix for not detecting child relations of view
|
2015-10-01 14:20:40 +03:00 |
|
Ruslan Talpa
|
380cab6ca3
|
Merge branch 'master' into skin
|
2015-09-25 22:45:49 +03:00 |
|
Joe Nelson
|
cf2f576ec0
|
Merge pull request #276 from ruslantalpa/master
Support for &select=col1,col2,col3 as suggested in issue #227
|
2015-09-06 15:24:47 -07:00 |
|
Ruslan Talpa
|
cc418d3519
|
aditional tests for bad casting parameters
|
2015-09-05 15:31:36 +03:00 |
|
Ruslan Talpa
|
9c8ac2a489
|
tests for &select= feature and support for casting columns (usefull when extracting subfields from json columns)
|
2015-09-05 15:05:53 +03:00 |
|
Diogo Biazus
|
89c581816e
|
Adds */* as a valid media type that will return json [fix #274]
|
2015-09-01 15:57:59 -04:00 |
|
Diogo Biazus
|
52626cc86d
|
Adds test cases for not operator in equality, inequality, like, ilike, tesarch (@@) and is null queries
|
2015-08-21 15:08:52 -04:00 |
|
Diogo Biazus
|
32b97ef076
|
Adds not as a keyword that can optionally be prepended to any operator in a parameter value
|
2015-08-21 10:33:41 -04:00 |
|
Joe Nelson
|
d65d011e5e
|
Tests for rpc
|
2015-08-20 22:14:09 -07:00 |
|
 Diogo BiazusandJoe Nelson
|
3b017dfdf6
|
Adds 415 response for any non-empty Accept header different from application/json or text/csv. Uses apropriate Content-Type header when sending CSV format.
|
2015-08-20 20:47:36 -07:00 |
|
Richard Allaway
|
4e77492797
|
adds a spec for NOT IN query case
|
2015-08-17 10:24:51 -04:00 |
|
Joe Nelson
|
adac39bd7c
|
Use Content-Type text/csv for CSV responses
|
2015-08-15 11:57:57 -07:00 |
|
Diogo Biazus
|
9d5011e864
|
Implements CSV resnponse for the appropriate accept headers
|
2015-08-14 11:04:26 -04:00 |
|
Diogo Biazus
|
449cacdacf
|
Fixes error code 42803 when trying to query a view with a column named count.
|
2015-08-01 00:15:17 -04:00 |
|
Diogo Biazus
|
c76864a653
|
Qualifies columns used in WHERE clauses so we can use computed columns as filters
|
2015-07-10 12:35:24 -04:00 |
|
Joe Nelson
|
956f73d997
|
Regression test for situation reported in issue #203
|
2015-07-03 22:51:04 -07:00 |
|
Diogo Biazus
|
a980db6d2d
|
Adds spec for @@ operator and implements it in PgQuery
|
2015-05-22 12:28:26 -04:00 |
|
Joe Nelson
|
9792b9b46a
|
Allow filtering by values inside json columns
|
2015-04-04 17:38:54 -07:00 |
|
Joe Nelson
|
f7ff08edf7
|
Test is.null matcher
|
2015-03-15 15:20:31 -07:00 |
|
Joe Nelson
|
5c7ee1effc
|
Fix problems caused by my rebase
|
2015-03-15 12:24:30 -07:00 |
|
 João CristóvãoandJoe Nelson
|
01c67ab793
|
Added tests for nullsfirst / nullslast
|
2015-03-15 11:37:06 -07:00 |
|
Joe Nelson
|
6474a83221
|
Support IN query param operator
|
2015-03-01 18:30:08 -08:00 |
|
Joe Nelson
|
fa48c86195
|
Logically simplify (i)like test cases
|
2015-02-15 17:34:26 -08:00 |
|
Joe Nelson
|
b88192f95a
|
Remove lint
|
2015-02-15 16:31:53 -08:00 |
|
Joe Nelson
|
5a1ae934b9
|
Put array open bracket nearer to the json
|
2015-02-15 16:14:25 -08:00 |
|
Joe Nelson
|
58f18181c2
|
Update order by params to new style introduced from master
|
2015-02-15 16:13:06 -08:00 |
|
Joe Nelson
|
eea1bc0cac
|
Quasiquote json to fix vim syntax highlighting
|
2015-02-15 16:03:31 -08:00 |
|
Joe Nelson
|
e37d5d9b25
|
Style tweak
|
2015-02-15 15:59:49 -08:00 |
|
 Adam C. BakerandJoe Nelson
|
5cc77709ba
|
Add like/ilike
|
2015-02-15 15:23:18 -08:00 |
|
João Cristóvão
|
9cb1ced010
|
Change order test to match docs
|
2015-02-12 09:44:49 +00:00 |
|
Joe Nelson
|
4c74e54ae1
|
Do not add WHERE clause if only param is order
Fixes #119
|
2015-01-05 22:37:49 -08:00 |
|
Adam C. Baker
|
c9b960f955
|
only create schema once
|
2014-12-29 17:57:31 -08:00 |
|
Adam C. Baker
|
3756309b22
|
create items in test, not in the schema.
|
2014-12-29 17:57:31 -08:00 |
|
Adam C. Baker
|
2ae99daa12
|
resetDb once for each set of tests.
|
2014-12-29 17:57:31 -08:00 |
|
Joe Nelson
|
7d58097449
|
Be sure to reset db before ALL tests
|
2014-12-06 17:42:42 -08:00 |
|
Joe Nelson
|
f1ecbec543
|
Do not quote params in Location header
Also treat the enum field in OPTIONS as an array uniformly
|
2014-12-06 17:42:21 -08:00 |
|
Joe Nelson
|
f6b7b42d75
|
Feature specs compile
|
2014-12-06 17:42:20 -08:00 |
|
Adam C. Baker
|
74855db87b
|
declare required extensions
and remove default extension pragmas (OverloadedStrings)
|
2014-11-05 00:32:10 -08:00 |
|
Joe Nelson
|
93c573ab4f
|
Issue 404 for nonexistent tables
Fixes #44
|
2014-10-14 18:58:55 -07:00 |
|
Joe Nelson
|
f1feaecf27
|
Fix Content-Location header when there are no params
Fixes #68
|
2014-10-14 11:49:36 -07:00 |
|
Joe Nelson
|
21e4e583ec
|
Return [] rather than nothing on no results
Fixes #70
|
2014-10-14 11:23:26 -07:00 |
|
Joe Nelson
|
fbb13f4ab3
|
Accept order query param
Fixes #66
|
2014-10-13 22:29:28 -07:00 |
|
Adam C. Baker
|
cf5510c425
|
upgrade hspec-wai, get tests passing.
|
2014-09-24 19:08:05 -07:00 |
|
Joe Nelson
|
a4227b94d8
|
Add Content-Location header to GET responses
Fixes #26
|
2014-09-07 17:01:35 -07:00 |
|