Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- ProjectionExpression.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- ProjectionExpressionLowPriorityImplicits0
- Graph
- Supertypes
Attributes
- Inherited from:
- ProjectionExpressionLowPriorityImplicits1
- Graph
- Supertypes
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Unsafe version of parse
that throws an IllegalStateException rather than returning an Either.
Note all path elements are substituted automatically using the ExpressionAttributeNames
facility.
The underscore "_" and hypen "-" are allowed in the name without any escaping.
Any other special characters must be escaped with backticks as the first and last characters.
Unsafe version of parse
that throws an IllegalStateException rather than returning an Either.
Note all path elements are substituted automatically using the ExpressionAttributeNames
facility.
The underscore "_" and hypen "-" are allowed in the name without any escaping.
Any other special characters must be escaped with backticks as the first and last characters.
Examples:
$("foo") // simple map element
$("foo.bar[9].baz") // array element with nested access
$("`foo.bar`") // simple map element with a dot in the name
$("foo_bar") // simple map element
$("foo-bar") // simple map element
Attributes
- See also:
Parses a string into an ProjectionExpression
Note all path elements are substituted automatically using the ExpressionAttributeNames
facility.
The underscore "_" and hypen "-" are allowed in the name without any escaping.
Any other special characters must be escaped with backticks as the first and last characters.
eg
Parses a string into an ProjectionExpression
Note all path elements are substituted automatically using the ExpressionAttributeNames
facility.
The underscore "_" and hypen "-" are allowed in the name without any escaping.
Any other special characters must be escaped with backticks as the first and last characters.
eg
parse("foo.bar[9].baz"")
// Right(MapElement(ListElement(MapElement(Root(bar),baz),9),baz))
parse(fo$$o.ba$$r[9].ba$$z)
// Left("error with fo$$o,error with ba$$r[9],error with ba$$z")
Attributes
- s
Projection expression as a string
- Returns:
either a
Right
of ProjectionExpression if successful, else a list of errors in a string
Concrete fields
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- ProjectionExpressionLowPriorityImplicits0
Attributes
- Inherited from:
- ProjectionExpressionLowPriorityImplicits1