INNER CODE UNIT · JavaScript

stop

sensedeep/dynamodb-onetable · samples/crud/src/index.js:72

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

async function test() {
    await table.createTable()

    let user = await User.create(
        {
            name: 'Peter Smith',
        },
        {log: true}
    ) //  Emit console trace for the command and result
    console.log('CREATED user', user)

    user = await User.update({id: user.id, status: 'inactive'})
    console.log('UPDATED user', user)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…