| 3910 | |
| 3911 | |
| 3912 | Expr * |
| 3913 | MakeLowerBoundIdExpr(const bson_value_t *filterValue, Index collectionVarno) |
| 3914 | { |
| 3915 | bson_value_t minBound = { 0 }; |
| 3916 | |
| 3917 | if (filterValue->value_type == BSON_TYPE_MAXKEY) |
| 3918 | { |
| 3919 | minBound.value_type = BSON_TYPE_MINKEY; |
| 3920 | } |
| 3921 | else |
| 3922 | { |
| 3923 | minBound = GetLowerBound(filterValue->value_type); |
| 3924 | } |
| 3925 | |
| 3926 | return MakeSimpleIdExpr(&minBound, collectionVarno, |
| 3927 | BsonGreaterThanEqualOperatorId()); |
| 3928 | } |
| 3929 | |
| 3930 | |
| 3931 | Expr * |
no test coverage detected