We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ceeab commit d09df5eCopy full SHA for d09df5e
src/pages/postgraphile/make-extend-schema-plugin.md
@@ -537,7 +537,8 @@ ahead" and determine what to request from the database.
537
538
#### Working with arrays via `json_array_elements`
539
540
-Here's an example of working with a join table, and bulk inserting multiple records from a GraphQL list.
+Here's an example of working with a join table, and bulk inserting multiple
541
+records from a GraphQL list.
542
543
```js
544
...
@@ -561,7 +562,7 @@ resolvers: {
561
562
try {
563
// Ensure proper formatting. This may not be necessary if not modifying the input
564
const elements = JSON.stringify(thingIds.map(thingId => ({ thingId, personId })));
-
565
+
566
// Bulk insert
567
const { rows } = await pgClient.query(`
568
INSERT INTO public.persons_things (person_id, thing_id)
0 commit comments