Tests if an attribute equals the given value.

Command Syntax

attr(attribute).eq(value)

Usage

const d = new Dynaflo(config);

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

AWS Doc Links

Condition Expressions