You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ReferenceManyToManyInput.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,14 +107,14 @@ const BandEdit = () => (
107
107
|`through`| Required |`string`| - | Name of the resource for the associative table, e.g. 'book_authors' |
108
108
|`filter`| Optional |`object`|`{}`| Filter for the associative table (passed to the `getManyReference()` call) |
109
109
|`filter Choices`| Optional |`object`|`{}`| Filter for the possible choices fetched from the reference table (passed to the `getList()` call) |
110
-
|`mutationOptions`| Optional |`{ meta, onError }`| - | Mutation options for the `create` and `deleteMany` calls. Only `meta` and `onError` are supported. |
110
+
|`mutation Options`| Optional |`{ meta, onError }`| - | Mutation options for the `create` and `deleteMany` calls. Only `meta` and `onError` are supported. |
111
111
|`perPage`| Optional |`number`| 25 | Limit for the number of results fetched from the associative table |
112
112
|`perPage Choices`| Optional |`number`| 25 | Limit for the number of possible choices fetched from the reference table |
113
-
|`queryOptions`| Optional |`UseQueryOptions`| - | Query options for the `getList`, `getMany` and `getManyReference` calls |
113
+
|`query Options`| Optional |`UseQueryOptions`| - | Query options for the `getList`, `getMany` and `getManyReference` calls |
114
114
|`sort`| Optional |`{ field: string, order: 'ASC' or 'DESC' }`|`{ field: 'id', order: 'DESC' }`| Sort for the associative table (passed to the `getManyReference()` call) |
115
115
|`sort Choices`| Optional |`{ field: string, order: 'ASC' or 'DESC' }`|`{ field: 'id', order: 'DESC' }`| Sort for the possible choices fetched from the reference table (passed to the `getList()` call) |
116
116
|`source`| Optional |`string`|`'id'`| Name of the field containing the identity of the main resource. Used determine the value to look for in the associative table. |
117
-
|`using`| Optional |`string`|`'([resource]_id,[reference]_id)'`| Tuple (comma separated) of the two field names used as foreign keys, e.g 'book_id,author_id'. The tuple should start with the field pointing to the resource, and finish with the field pointing to the reference |
117
+
|`using`| Optional |`string`|`'([res]_id,[ref]_id)'`| Tuple (comma separated) of the two field names used as foreign keys, e.g 'book_id,author_id'. The tuple should start with the field pointing to the resource, and finish with the field pointing to the reference |
0 commit comments