Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 390 Bytes

Above.md

File metadata and controls

20 lines (13 loc) · 390 Bytes

above()

Look for a value which is a number and is above another number.

Usage

const bars = data.model('bars', {bar: Number});
await data.insertMany(bars, [{bar: 10}, {bar: 20}, {bar: 30}]);
await data.findMany(bars, {bar: data.above(10)}); // returns [{bar: 20}, {bar: 30}]

Arguments

  • number

Return

DataValue<'above', number>