1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

feat(core): add alternative comparison syntax for Entries API

// alternative comparison syntax
'eq' => Comparison::EQ,
'neq' => Comparison::NEQ,
'lt' => Comparison::LT,
'lte' => Comparison::LTE,
'gt' => Comparison::GT,
'gte' => Comparison::GTE
This commit is contained in:
Awilum
2019-10-09 14:03:37 +03:00
parent 0b6692e5af
commit 6f18d98c80

View File

@@ -61,6 +61,14 @@ class Entries
'member_of' => Comparison::MEMBER_OF,
'start_with' => Comparison::STARTS_WITH,
'ends_with' => Comparison::ENDS_WITH,
// alternative comparison syntax
'eq' => Comparison::EQ,
'neq' => Comparison::NEQ,
'lt' => Comparison::LT,
'lte' => Comparison::LTE,
'gt' => Comparison::GT,
'gte' => Comparison::GTE
];
/**