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:
@@ -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
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user