Skip to content

Commit

Permalink
Improve documentation: add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRamm committed Dec 7, 2023
1 parent 51519a4 commit f2029b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/docs/en/reference/runtime-helpers/node.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Creates a DynamoDB client for your application's `@tables`. The client is an obj
- `_doc(thing[, callback]) → [Promise]`
- `nodejs16.x` (or lower) - instance of [`AWS.DynamoDB.DocumentClient`](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/DocumentClient.html)
- `nodejs18.x` (or higher) - instance of [`DynamoDBDocument`](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/modules/_aws_sdk_lib_dynamodb.html)
- `name(tablename)`
- `name(tablename) -> [string]`
- Helper method that accepts a logical table name string, and returns a physical AWS resource name. Helpful for when you need to go lower level.
- For example use `client.name('my-table')` to get the human-unfriendly AWS name of the `my-table` `@tables` resource
- `reflect() → [object]`
Expand Down

0 comments on commit f2029b9

Please sign in to comment.