UNPKG

dynamodb-toolbox

Version:

Lightweight and type-safe query builder for DynamoDB and TypeScript.

7 lines (6 loc) 309 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fromTableDTO = void 0; const index_js_1 = require("../../../table/index.js"); const fromTableDTO = ({ tableName, ...tableDTO }) => new index_js_1.Table({ name: tableName, ...tableDTO }); exports.fromTableDTO = fromTableDTO;