# db.command.gte
Query filter, indicating that the value of a field is required to be greater than or equal to the specified value. The Date
object may be imported to compare the dates.
Method signature:
function gte(value: number | Date): Command
Sample code
Find out the todos whose progress is greater than or equal to 50
const _ = db.command
db.collection('todos').where({
progress: _.gte(50)
})
.get({
success: console.log,
fail: console.error
})