Tests if an attribute is between two values.

Command Syntax

attr(attribute).between(lowOperand, highOperand)

Usage

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

d.table('Movies')
  .query({genre: 'action'})
  .where(attr('year').between(2005, 2015)))
  .run()
  .then(data => {
    // returns movies with genre = 'action' and made between 2005 and 2015
  });

AWS Doc Links

Condition Expressions