steve-chavez
69a76a627f
Close #1145 , OpenAPI materialized view columns
2018-07-18 09:43:42 -05:00
steve-chavez
105671e51a
Fix #1129 , view embedding on capitalized table
...
- Now also works on camelCase fk column
2018-07-18 09:43:42 -05:00
steve-chavez
ecf0e9213f
Remove array slice in allSynonyms query
...
This is for ensuring compatibility with pg 9.4 which doesn't support
omitting the array slice upper bound, [2:] gives an error.
The query still works fine because the array slice was to avoid having
a "({" result but this gets removed in the later join.
2018-07-18 09:43:42 -05:00
steve-chavez
1c6ded16d1
Add improved query for allSynonyms
...
This query works with views with subselects, and it's a lot faster,
on a complex schema the previous query was taking around 8 mins,
this query takes less than half a second(403.072 ms).
Also reorder view embedding tests
2018-07-18 09:43:42 -05:00
PJLindsay and Steve Chávez
a7fd694f19
Update tut0.rst ( #159 )
...
* Update tut0.rst
Add hint about port mapping for users with pre-existing PostgreSQL DB
2018-07-13 13:06:04 -05:00
steve-chavez
6fc9d5191a
Move create/destroy db scripts to bash
...
There was a "[[: not found" error with sh
2018-06-22 10:48:54 -05:00
steve-chavez
80f09780cc
Add logo and db uri example to heroku button
2018-06-21 11:04:31 -05:00
steve-chavez
cfaf588bba
Add json operators to vertical filtering section
2018-06-19 12:40:08 -05:00
steve-chavez
9e3454129f
Add tests for jsonb equality filtering
2018-06-19 11:17:59 -05:00
steve-chavez
d34afe861a
Allow finishing a json path with single arrow ->
...
Now a json can be obtained without resorting to casting
- Previously: `/json_arr?select=data->>2::json`
- Now: `/json_arr?select=data->2`
2018-06-19 11:17:59 -05:00
steve-chavez
30dfadec7b
Add support for getting json by array index
...
* Also support json negative array index
2018-06-19 11:17:59 -05:00
steve-chavez
2513c00039
Refactor Field type,move tests to JsonOperatorSpec
2018-06-19 11:17:59 -05:00
steve-chavez
100bf494ac
Move database creation/destruction scripts to sh
...
Bash is not available on /bin/bash on some linux distros like NixOS
2018-06-19 11:17:59 -05:00
steve-chavez
e8188b0d41
Add Lead Backer. Thank you Daniel.
2018-06-18 11:49:15 -05:00
steve-chavez
be039152f2
Improve explicit qualification section
2018-06-15 11:52:39 -05:00
steve-chavez
c7c6ee40e4
Add entries to the dict
2018-06-14 09:29:12 -05:00
ASVBPREAUBV and Steve Chávez
0e16f34eef
Make swagger-gui an optional step in installation
2018-06-14 09:09:13 -05:00
Francois-Guillaume Ribreau and Steve Chávez
92cc815e9d
Add MotionDynamic (PostgREST + SubZero)
2018-06-10 14:25:10 -05:00
steve-chavez
3958ebbb05
Add CHANGELOG note about stored procedures
2018-05-31 11:57:42 -05:00
steve-chavez
37e7398a85
Fix UPSERT bug on camelCase PK column
2018-05-31 11:57:42 -05:00
steve-chavez
f84b79ce41
Add stored function explicit qualification
2018-05-31 10:18:16 -05:00
steve-chavez
d03770d352
Bump version to v5.0.0
2018-05-28 17:37:11 -05:00
steve-chavez
c71bbba979
Some corrections and better wording
2018-05-28 17:25:21 -05:00
steve-chavez
b11f9ef386
Fix #137 , unix socket connection
2018-05-28 13:26:18 -05:00
steve-chavez
625a0b2393
Fix #136 , sslmode on db-uri
2018-05-28 13:26:18 -05:00
steve-chavez
338e8a1ae3
Add casting example
2018-05-28 13:26:18 -05:00
steve-chavez
036cc1c5d7
Fix #107 , Alias column with :
2018-05-28 13:26:18 -05:00
steve-chavez
ed028234cc
Add example of filtering function response
2018-05-28 13:26:18 -05:00
steve-chavez
121f192b93
Fix #127 , RPC cache dependency
2018-05-28 13:26:18 -05:00
steve-chavez
7255f02610
Fix #126 , update note about arrays
2018-05-28 13:26:18 -05:00
steve-chavez
6e7a2ca26c
Fix #135 , clarify usage of GET/POST RPC
2018-05-28 13:26:18 -05:00
steve-chavez
5e856a22a8
Fix #132 , remove deprecation notices
2018-05-28 13:26:18 -05:00
steve-chavez
7948730770
Add embeds alias feature
2018-05-28 13:26:18 -05:00
steve-chavez
1108aede5b
Install only necessary deps for BSD and OSX
2018-05-28 13:26:18 -05:00
steve-chavez
c0f8e64bbb
Add limit/offset and and/or to embedded resources
2018-05-28 13:26:18 -05:00
steve-chavez
dbec5e08aa
Fix #131 , SCHEMA comment and summary/description
2018-05-28 13:26:18 -05:00
steve-chavez
2f699fa115
Add foreign tables in OpenAPI feature
2018-05-28 13:26:18 -05:00
steve-chavez
6f0a25520a
Add UPSERT feature
2018-05-28 13:26:18 -05:00
steve-chavez
e56313196b
Add role-claim-key feature
2018-05-28 13:26:18 -05:00
steve-chavez
736a5020b0
Add app.settings.* config value feature
2018-05-28 13:26:18 -05:00
Felix Yan and Steve Chávez
9ea7529f30
Use protolude 0.2.2, replace undefined with witness
...
protolude provides headMay since 0.2.2, it can be used instead of safe.
2018-05-28 13:08:27 -05:00
ilovezfs and Steve Chávez
384767708b
postgrest.cabal: fix constraints on protolude and hasql-transaction
2018-05-27 08:54:46 -05:00
steve-chavez
6bcbb124d2
Add PGRST_ROLE_CLAIM_KEY to ENV
2018-05-25 10:27:09 -05:00
Dominik and Steve Chávez
f6c1ff810e
Add role-claim-key to docker postgrest.conf
...
With #1091 , the role-claim-key was added, but it is not configurable in docker containers as the template config doesn't allow it.
This patch adds the necessary line to the postgrest.conf of the docker container.
2018-05-25 09:26:44 -05:00
agent3bood and steve-chavez
b32ba7a409
Add volume to docker-compose
2018-05-23 09:17:27 -05:00
agent3bood and steve-chavez
e0e4d68185
update PGRST_DB_ANON_ROLE in docker-compose
...
anon should not be the default db user
2018-05-23 09:16:47 -05:00
steve-chavez
f80cfbf165
Add BACKERS.md
2018-05-21 13:11:24 -05:00
Ken Fehling and steve-chavez
28c39e976c
Update docker-compose example to version 3
...
Adds "depends_on"
2018-05-21 08:11:45 -05:00
Hasan Pekdemir and Steve Chávez
88e3c8c4b6
add triggerfs to production apps in examples
2018-05-17 10:23:47 -05:00
steve-chavez
d8896be2c1
Add more details to issue template
2018-05-16 09:25:24 -05:00