elementAt method
Access an index in this JSON value.
Returns NULL if:
- The parent expression is
NULL, or, - The index does not exist.
This will return JsonValue(null) if the index referenced is null
in the JsonValue represented by this expression.
In SQL this is conceptually similar to:
this -> index
Implementation
Expr<JsonValue?> elementAt(int index) => ExpressionJsonRefIndex._(
this is ExpressionJsonRef
? this as ExpressionJsonRef
: ExpressionJsonRefRoot._(this),
index,
);