INNER CODE UNIT · TypeScript

stop

sensedeep/dynamodb-onetable · samples/typescript/src/index.ts:61

async function stop() {
    process.kill(dynamodb.pid)
}

async function test() {
    /*
        For this sample, create the table. Normally would be created separately.
    */
    await table.createTable()

    /*
        Create typed models. We can also access items using the table APIs. E.g. table.get('User', ...)
    */
    const Account = table.getModel('Account')
    const Invoice = table.getModel('Invoice')
    const Product = table.getModel('Product')
    const User = table.getModel('User')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…