Commit Graph

35 Commits

Author SHA1 Message Date
Marion Schleifer
e031e99d73
docs: replace doc with ref (close #4054) (#4068) 2020-03-12 01:12:36 +05:30
Rikin Kachhia
87706158b1
update actions docs (#3953) 2020-02-25 21:00:00 +05:30
Marion Schleifer
265cf7f12e docs: add meta descriptions to pages (#3631) 2020-01-14 18:27:45 +05:30
Rikin Kachhia
3a7a3bf6bf
refactor docs schema section (#3489) 2019-12-26 17:35:37 +05:30
Rikin Kachhia
a66bcb7f27
update queries docs pages (#3483) 2019-12-15 18:32:10 +05:30
Marion Schleifer
46ac68952f add replace nested objects example to update docs (#2962) 2019-12-10 16:07:20 +05:30
larainfo
22eec2241f add docs example for inserting an object with an array field (close #3018) (#3019) 2019-12-03 19:48:35 +05:30
Marion Schleifer
95f96ee889 update docs for relational inserts and upserts (close #1310, #2293) (#2889) 2019-11-28 20:20:47 +05:30
Marion Schleifer
64eb726568 update upsert column requirements in docs (#3413) 2019-11-25 15:05:36 +05:30
Tirumarai Selvan
5eb9d8887e update mutation docs to make transactionality clearer (#3358) 2019-11-15 20:19:39 +05:30
Rakesh Emmadi
f3b418c631 support where clause in on_conflict of insert mutation (close #2795) (#3002) 2019-10-09 05:09:20 -05:00
Marion Schleifer
480b34ea5e fix typos in documentation (#2562) 2019-09-11 12:47:14 +05:30
Rikin Kachhia
37366e0f57
add one-to-one rel nested mutation limitations + update upsert docs (#2825) 2019-09-05 18:21:00 +05:30
Marion Schleifer
cb2a083359 improve relational insert docs + add section on upsert usage (#2757) 2019-09-04 14:17:55 +05:30
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