Skip to content

Commit 8f07d6e

Browse files
committed
[Doc] Fix ReferenceManyToManyInput props table is broken
1 parent 8985211 commit 8f07d6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/ReferenceManyToManyInput.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ const BandEdit = () => (
107107
| `through` | Required | `string` | - | Name of the resource for the associative table, e.g. 'book_authors' |
108108
| `filter` | Optional | `object` | `{}` | Filter for the associative table (passed to the `getManyReference()` call) |
109109
| `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. |
111111
| `perPage` | Optional | `number` | 25 | Limit for the number of results fetched from the associative table |
112112
| `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 |
114114
| `sort` | Optional | `{ field: string, order: 'ASC' or 'DESC' }` | `{ field: 'id', order: 'DESC' }` | Sort for the associative table (passed to the `getManyReference()` call) |
115115
| `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) |
116116
| `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 |
118118

119119
## `children`
120120

0 commit comments

Comments
 (0)