Skip to content

Commit

Permalink
feat(docs): update docs (#604)
Browse files Browse the repository at this point in the history
feat(docs): update docs

Updates the Wing docs. See details in [workflow run].

[Workflow Run]: https://github.com/winglang/docsite/actions/runs/6161299635

------

*Automatically created via the "update-docs" workflow*
  • Loading branch information
monadabot authored Sep 12, 2023
1 parent 768a818 commit b5da581
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ new ex.Table(props: TableProps);
| <code><a href="#@winglang/sdk.ex.ITableClient.get">get</a></code> | Get a row from the table, by primary key. |
| <code><a href="#@winglang/sdk.ex.ITableClient.insert">insert</a></code> | Insert a row into the table. |
| <code><a href="#@winglang/sdk.ex.ITableClient.list">list</a></code> | List all rows in the table. |
| <code><a href="#@winglang/sdk.ex.ITableClient.tryGet">tryGet</a></code> | Get a row from the table if exists, by primary key. |
| <code><a href="#@winglang/sdk.ex.ITableClient.update">update</a></code> | Update a row in the table. |
| <code><a href="#@winglang/sdk.ex.ITableClient.upsert">upsert</a></code> | Insert a row into the table if it doesn't exist, otherwise update it. |

Expand Down Expand Up @@ -367,6 +368,22 @@ inflight list(): MutArray<Json>

List all rows in the table.

##### `tryGet` <a name="tryGet" id="@winglang/sdk.ex.ITableClient.tryGet"></a>

```wing
inflight tryGet(key: str): Json
```

Get a row from the table if exists, by primary key.

###### `key`<sup>Required</sup> <a name="key" id="@winglang/sdk.ex.ITableClient.tryGet.parameter.key"></a>

- *Type:* str

primary key to search.

---

##### `update` <a name="update" id="@winglang/sdk.ex.ITableClient.update"></a>

```wing
Expand Down

1 comment on commit b5da581

@vercel
Copy link

@vercel vercel bot commented on b5da581 Sep 12, 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.