$gte and $lte doesn't with variable

Your match statement needs the field names.

1 Like