Rakesh Emmadi
fc7ea9213c
fix non-admin insert returns null column values when query affects zero rows in postgres ( fix #563 ) ( #565 )
...
Insert trigger function: If query affects no rows then return `null`
Insert trigger function is modified to have
`IF r IS NULL THEN RETURN null; ELSE RETURN r; END IF;` in return statement.
2018-09-29 11:12:47 +05:30
Vamshi Surabhi
5e619cc479
fix geojson inconsistencies ( closes #510 ) ( #513 )
...
Graphql-engine now accepts crs key to specify the Coordinate Reference System as accepted in GeoJSON 2008 spec.
- [x] Server
2018-09-27 17:53:17 +05:30
Vamshi Surabhi
dd8e09d6cb
add jsonb boolean operators ( close #369 ) ( #376 )
2018-09-07 17:45:28 +05:30
Rakesh Emmadi
0a3f68a6eb
allow selectively updating columns on a conflict during insert ( fix #342 )
...
* fix primary key changing on upsert, fix #342
* add 'update_columns' in 'on_conflict' object, consider 'allowUpsert'
* 'ConflictCtx' type should respect upsert cases
* validation for not null fields in an object
2018-09-04 19:09:48 +05:30
Rakesh Emmadi
efc9fc7ba9
simpler root level select fields using primary keys ( fix #304 ) ( #306 )
...
* select fields by primary key col values as argument values, fix #304
* change field name 'table_by_pkey' to 'table_by_pk'
2018-08-27 19:47:03 +05:30
Rakesh Emmadi
e3b56ac368
fix upsert queries to work on non admin roles ( fix #239 ) ( #291 )
2018-08-17 20:14:43 +05:30
Rakesh Emmadi
cffa808d19
returning returns [] when mutations affect no rows ( fix #265 ) ( #269 )
...
* fix returning returns null, fix #265
* add a test case for delete mutation with returning
2018-08-08 12:31:49 +05:30
Rakesh Emmadi
9c55490e98
add limit in select permission which overrides limit in query ( close #178 ) ( #237 )
2018-08-06 17:45:08 +05:30
Rakesh Emmadi
27e2d647bb
add _inc and jsonb operators to update_mutation ( close #159 ) ( #169 )
2018-07-20 16:21:20 +05:30
Vamshi Surabhi
e3f960da96
initial support for livequeries ( #176 )
...
fix #59
2018-07-20 12:52:46 +05:30
rakeshkky
82e81cd540
server: use row expressions instead of json_build_object
2018-07-09 12:55:49 +05:30
Vamshi Surabhi
3b8c5a1848
server: use attoparsec-iso8601 for parsing time information
2018-06-28 13:49:52 +05:30
Vamshi Surabhi
530027cf20
move raven into graphql-engine repo
2018-06-28 00:32:00 +05:30