diff --git a/draft/query-language.txt b/draft/query-language.txt index 406087ea4..d396a35af 100644 --- a/draft/query-language.txt +++ b/draft/query-language.txt @@ -23,7 +23,8 @@ UpdateItem = PathExpression "=" (Expression | "NULL") IdentificationVariableDeclaration = RangeVariableDeclaration {Join} RangeVariableDeclaration = PathExpression [["AS" ] identifier] -Join = ["LEFT" | "INNER"] "JOIN" PathExpression "AS" identifier +Join = ["LEFT" | "INNER"] "JOIN" PathExpression "AS" identifier [["ON" | "WITH"] ConditionalExpression] IndexBy +IndexBy = "INDEXBY" identifier ConditionalExpression = ConditionalTerm {"OR" ConditionalTerm} ConditionalTerm = ConditionalFactor {"AND" ConditionalFactor}