Tests if an attribute does not exist in a document.
Command Syntax
attr(attribute).notExists()
Usage
const d = new Dynaflo(config);
d.table('Movies')
.update({year: 2015})
.set({title: 'New Title'})
.when(attr('title').notExists())
.run()
.then(data => {
// only updates the title when the document does not have a title attribute
});
AWS Doc Links