Tests if an attribute is less than the given value.

Command Syntax

attr(attribute).lt(value)

Usage

const d = new Dynaflo(config);

d.table('Movies')
  .query({genre: 'action'})
  .where(attr('year').lt(2015)))
  .run()
  .then(data => {
    // returns all action movies made before 2015
  });

AWS Doc Links

Condition Expressions