Rakesh Emmadi
6c20ca8a55
allow renaming tables, columns and relationships ( close #79 ) ( #1542 )
2019-03-01 14:47:22 +05:30
Rakesh Emmadi
2054bdc44e
do not allow overloading already tracked functions ( #1563 )
2019-02-14 09:35:18 +05:30
Rakesh Emmadi
96f8b05326
don't allow altering tracked SQL functions type to VOLATILE ( fix #1546 ) ( #1547 )
2019-02-05 11:27:03 +05:30
Rakesh Emmadi
4ef50d95c7
hdb_views should always be cleared before building schema cache ( #1513 )
2019-01-29 15:39:58 +05:30
Rakesh Emmadi
0bf2457e23
allow exposing postgres functions through GraphQL interface ( close #333 ) ( #1073 )
2019-01-25 09:01:54 +05:30
Rakesh Emmadi
d91d7e658a
optimise 'run_sql' query, closes #1362 ( #1406 )
2019-01-18 16:15:59 +05:30
Vamshi Surabhi
380fdad468
update constraint enum types when a new constraint is added ( #1287 )
...
* update metadata when constraints on a table are altered, fix #240
* capture only unique or primary constraints in tableinfo
2019-01-03 09:28:12 +05:30
Vamshi Surabhi
be1d9414f8
diff's query should account for table having no columns ( #1256 )
2018-12-21 15:24:22 +05:30
Vamshi Surabhi
c28fbd3f98
faster retrieval of table information from postgres ( #1235 )
2018-12-19 16:11:06 +05:30
Vamshi Surabhi
ec8b2c80b5
refactor to remove warnings especially with orphan instances ( #1163 )
...
* remove phase one/two distinction and hdbquery typeclass
* move extensions to default-extensions
* switch to LazyTx which only acquires a connection if needed
* move defns from TH module into Ops module
* remove tojson orphan instance for http exception
* remove orphan instance for dmlp1
* getTopLevelNodes will not throw any exceptions
2018-12-13 12:56:15 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Vamshi Surabhi
47dcae1614
fix sql generation for boolean expressions, closes #853 ( #1037 )
...
When using self referential relationships in boolean expressions, the exists clause incorrectly uses the table names to qualify columns which will be the same for parent table and the child table. This is now fixed by generating unique aliases as we traverse down the relationships.
2018-11-16 18:10:23 +05:30
Tirumarai Selvan
317efb81f1
event triggers: take webhook url from env ( close #966 ) ( #968 )
2018-11-14 12:43:01 +05:30
Tirumarai Selvan
baf7c493bc
respect retry-after header on event trigger response ( #525 )
2018-10-26 21:58:03 +05:30
Tirumarai Selvan
810b440089
trigger webhooks on column level changes instead of row ( close #547 , close #680 ) ( #550 )
2018-10-25 12:52:51 +05:30
Vamshi Surabhi
ac537330d0
explain a graphql query, similar to explain of an sql statement ( close #562 ) ( #805 )
2018-10-19 07:45:28 +05:30
Rakesh Emmadi
49dd7bf98b
allow mutations on views only if they are allowed by postgres ( fix #232 ) ( #339 )
2018-10-12 17:36:12 +05:30
Rakesh Emmadi
d57be587b3
format schema name and table name as identifiers in event triggers ( fix #639 ) ( #644 )
2018-10-09 12:09:20 +05:30
Tirumarai Selvan
2cd2b23b2d
add custom headers for webhooks, refactor retry logic ( #419 )
2018-09-24 17:20:11 +05:30
Tirumarai Selvan
82e09efce6
add event triggers ( #329 )
2018-09-05 16:56:46 +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
0797407dbf
respect the nullability of columns in generated schema ( fix #256 ) ( #276 )
2018-08-10 18:14:44 +05:30
Rakesh Emmadi
5efa366b49
add 'on_conflict' argument to insert mutation ( closes #105 )
...
* add 'on_conflict' condition to allow upsert mutation, closes #105
* check for empty unique or primary key constraints
* add 'on_conflict' condition test cases and introspection test case
* update 'conflict_action' enum values' description
2018-07-17 18:53:23 +05:30
Vamshi Surabhi
db1a098b3b
server: do not publish schema for system defined tables
2018-06-29 16:30:54 +05:30
Rakesh Emmadi
a4dbe58c15
server: Disallow untrack_table for system defined tables. Fix #12 ( #15 )
2018-06-28 17:26:40 +05:30
Vamshi Surabhi
530027cf20
move raven into graphql-engine repo
2018-06-28 00:32:00 +05:30