Commit Graph

21 Commits

Author SHA1 Message Date
Rikin Kachhia
d740de9ae2 update docs (#2033) 2019-04-19 16:18:18 +05:30
Rikin Kachhia
afc2331951
update docs (#2023)
* add missing column error to troubleshooting
* update subscription headers section
* docs for using {} expression
* fix create foreign-key section
2019-04-17 19:07:42 +05:30
Rikin Kachhia
29d6e85e42
add better upsert example to docs (#1930) 2019-04-03 15:05:51 +05:30
Rakesh Emmadi
5bafdce9a3 fix delete mutation returning incorrect data (fix #1794) (fix #1763) (#1827)
From `alpha-40` we've been using a `WHERE` clause to fetch required rows and generate mutation response. This has a few limitations like the requirement of a primary key/unique constraint. This also returns inconsistent data on `delete` mutation as mentioned in #1794. 
Now, we're using `VALUES (..)` (refer [here](https://www.postgresql.org/docs/current/sql-values.html)) expression to form virtual table rows in `SQL` to generate mutation response.

Internal changes:-
- Not to use primary key/unique constraint columns:-
  - Revert back to `ConstraintName` from `TableConstraint` in `TableInfo` type
  - Remove `tcCols` field in `TableConstraint` type
  - Modify `table_info.sql` and `fetchTableMeta` function `SQL`
- A test case to perform `delete` mutation and returning relational objects.
2019-03-22 12:38:42 +05:30
Rakesh Emmadi
4970fde767 document unique/primary key constraint requirement for mutation response (#1776) 2019-03-18 13:51:58 +05:30
Rikin Kachhia
e8e0168da7 docs update (#1535) 2019-02-06 12:09:36 +05:30
Rikin Kachhia
6ec47a94c8
update query/mutation docs pages (#1426) 2019-01-21 14:50:14 +05:30
Rikin Kachhia
58715100a0
show query variables in docs graphiql (#1373) 2019-01-15 20:04:39 +05:30
Rakesh Emmadi
3026c49087 apply update permissions for upsert mutations (#628) 2018-12-15 21:40:29 +05:30
Rikin Kachhia
8de12d5bcd
add table of contents to docs pages (#1115) 2018-12-03 17:42:24 +05:30
Rikin Kachhia
f25d49a9ca update multiple mutation docs with nested insert (#1043) 2018-11-19 16:13:17 +05:30
Gordon Johnston
68bd5bbe86 remove 'update_columns' argument from example (#1031) 2018-11-13 22:01:37 +05:30
dsandip
10edd03a62 adds docs for column presets (close #623) (#971) 2018-11-06 14:07:17 +05:30
Chandler Weiner
fade5b39f8 fix spelling and grammar in docs (#709) 2018-10-12 09:30:25 +05:30
michizhou
c47ea78e0b fix typos, wording, punctuation, other errors in docs (#668) 2018-10-10 12:02:03 +05:30
Shahidh K Muhammed
1c15a9482a
add docs for schema / metadata api (close #409) (#626) 2018-10-08 19:42:03 +05:30
Rakesh Emmadi
00d5a5c1a3 insert mutations can now handle nested-data/relationsips (close #343) (#429) 2018-10-05 20:43:51 +05:30
Hugo
1e8e440bbc docs: fix spelling (#637) 2018-10-04 20:00:01 +05:30
Nikita Titov
15e3d6e549 multiple punctuation fixes in docs (#614) 2018-10-04 09:39:47 +05:30
Rikin Kachhia
dae3410e4d add docs on setting default value for columns (#437) 2018-09-13 17:10:17 +05:30
Shahidh K Muhammed
d3d9845497
merge docs into main repo (close #397) (#398) 2018-09-11 16:41:24 +05:30