Skip to content

Commit

Permalink
fix: Ghseet update code (#1868)
Browse files Browse the repository at this point in the history
## Checklist
I have:
- [ ] run the content through Grammarly
- [ ] linked to sample apps when relevant
- [ ] added the meta description for each page in the PR
- [ ] minimized the callouts and added only when necessary
- [ ] added the `queryString` parameter to the Tabs (if used)
- [ ] masked PII in images. For example, login credentials, account
details, and more
- [ ] added images only when necessary
- [ ] deleted the images that are no longer used for the updated pages
in the PR
- [ ] followed the image file naming convention while renaming or adding
new images. (Use lowercase letters, dashes between words, and be as
descriptive as possible)
- [ ] used the `<figure/>` tag instead of a markdown representation for
images
- [ ] added the `<figcaption/>` tag to add a caption to the image
- [ ] added the `alt` attribute in the `<img/>` tag
- [ ] verified and updated the cross-references or created redirect
rules for the changed or removed content
- [ ] reviewed and applied the style changes for UI formatting. For
example, Bold the UI elements(Buttons on screen) used in the doc.
  • Loading branch information
harshilp24 authored Nov 10, 2023
1 parent 52c1fcf commit fabd188
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions website/docs/connect-data/reference/querying-google-sheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ This command updates a **Sheet Row(s)** entity. The following section lists all
}}
```

See [Update single row](/connect-data/how-to-guides/insert-and-update-data-in-google-sheets#update-single-row) guide.


</dd>


Expand Down Expand Up @@ -353,10 +356,24 @@ This command updates multiple **Sheet Row(s)** entities. The following section l
#### Update Row Object(s)

<dd>An array of JSON-formatted objects whose key/value pairs represent the columns and values from your table record. You must include a <code>rowIndex</code> key in each row object to specify which record to update in the spreadsheet. Note that the <code>rowIndex</code> property of your row objects in Appsmith refers to its index in the array of table records, not the record's row number in the Google spreadsheet.</dd>
<dd><i>Example:</i>
<pre>{`{{ UsersTable.updatedRows }} // includes rowIndex key in each object`}</pre>

<dd>

*Example:*

```js
{{
Table1.updatedRows.map(row => { // includes rowIndex key in each object
return row.allFields
})
}}
```

See [Update multiple rows](/connect-data/how-to-guides/insert-and-update-data-in-google-sheets#update-multiple-rows) guide.

</dd>


## Troubleshooting

If you are experiencing difficulties, you can refer to the [Datasource troubleshooting guide](/help-and-support/troubleshooting-guide/action-errors/datasource-errors) or contact the support team using the chat widget at the bottom right of this page.

1 comment on commit fabd188

@vercel
Copy link

@vercel vercel bot commented on fabd188 Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.