From 1222a002bc74b2a6dc95ebb8a0201a6aafcbd579 Mon Sep 17 00:00:00 2001 From: D024504 Date: Fri, 5 May 2023 10:41:46 +0200 Subject: [PATCH] $top and $skip with expressions --- abnf/odata-abnf-construction-rules.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abnf/odata-abnf-construction-rules.txt b/abnf/odata-abnf-construction-rules.txt index 7eb9e1c..ab8ee08 100644 --- a/abnf/odata-abnf-construction-rules.txt +++ b/abnf/odata-abnf-construction-rules.txt @@ -314,8 +314,8 @@ filter = ( "$filter" / "filter" ) EQ boolCommonExpr orderby = ( "$orderby" / "orderby" ) EQ orderbyItem *( COMMA orderbyItem ) orderbyItem = commonExpr [ RWS ( "asc" / "desc" ) ] -skip = ( "$skip" / "skip" ) EQ 1*DIGIT -top = ( "$top" / "top" ) EQ 1*DIGIT +skip = ( "$skip" / "skip" ) EQ collectionExpr +top = ( "$top" / "top" ) EQ collectionExpr index = ( "$index" / "index" ) EQ [ "-" ] 1*DIGIT