Skip to content

Instantly share code, notes, and snippets.

@mxro
Created June 17, 2022 23:40
Show Gist options
  • Select an option

  • Save mxro/48ae299155840605057e350ecf505462 to your computer and use it in GitHub Desktop.

Select an option

Save mxro/48ae299155840605057e350ecf505462 to your computer and use it in GitHub Desktop.
import {
getTableName,
connect,
} from './table';
const dynamodb = await connect();
await dynamodb.putItem({
TableName: await getTableName(),
Item: {},
}).promise();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment