Tests if an attribute does not equal the given value.

Command Syntax

attr(attribute).ne(value)

Usage

import Dynaflo from 'dynaflo';
const d = new Dynaflo(config);

d.table('Movies')
  .query({year: 2015})
  .where(attr('title').ne('Fantastic Beasts'))
  .run()
  .then(data => {
    // returns all movies with year = 2015 and title not equal to 'Fantastic Beasts'
  });

AWS Doc Links

Condition Expressions