PostgrestToManyColumn<Row, Value extends Object> class final

A column of a to-many embedded relation, seen from the parent.

Select position only: PostgREST rejects a to-many embed in order, and filtering inside an embed is not supported.

Inheritance
Annotations
  • @experimental

Properties

embeddedFilterName → String
The filter form, parent.title, dotted through every level of a nested projection.
no setterinherited
expression → String
The text PostgREST expects in a select list and, for a column expression, on the left of an operator.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
relation → PostgrestRelation<Row, Object?>
The relation the column is projected through.
finalinherited
responseKey → String
The key the entry comes back under in a response row: the column name, the function name of an aggregate, the last key of a JSON path, or the PostgrestRelation.key of an embed.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

avg() → PostgrestDerivedExpression<Row, double>
The mean of this expression across the group.
inherited
cast<Target extends Object>(PostgrestCastTarget<Target> target) → PostgrestDerivedExpression<Row, Target>
Casts this expression to another Postgres type, cost::text.
inherited
count() → PostgrestDerivedExpression<Row, int>
How many non-null values of this expression are in the group.
inherited
jsonObject(String path) → PostgrestToManyColumn<Row, Value>
Reads a json/jsonb path as JSON, with ->.
override
jsonText(String path) → PostgrestToManyColumn<Row, String>
Reads a json/jsonb path as text, with ->>.
override
max() → PostgrestDerivedExpression<Row, Value>
The largest value of this expression in the group, keeping the expression's own type.
inherited
min() → PostgrestDerivedExpression<Row, Value>
The smallest value of this expression in the group, keeping the expression's own type.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sum() → PostgrestDerivedExpression<Row, double>
The sum of this expression across the group, typed double whatever the column's type. Past 2^53 the value rounds silently.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited