A Postgres array, which is either empty and zero-dimensional, or non-empty and rectangular (unlike Scala Array
s, which are ragged) with a postive number of dimensions (all non-empty). Arr
is a traversable functor.
Attributes
Members list
Grouped members
Transformation
Accessors
Size of this Arr
by dimension.
Size of this Arr
by dimension. Invariant: if this Arr
is non-empty then dimensions.product
equals size
.
Attributes
- Source
- Arr.scala
Retrieve the element at the specified location, if the ordinates are in range (i.e., between zero and the corresponding entry in dimensions
).
Retrieve the element at the specified location, if the ordinates are in range (i.e., between zero and the corresponding entry in dimensions
).
Attributes
- Source
- Arr.scala
Encoding
Encode this Arr
into a Postgres array literal, using f
to encode the values (which will be quoted and escaped as needed) and the given delimiter (specified in pg_type
but almost always a comma).
Encode this Arr
into a Postgres array literal, using f
to encode the values (which will be quoted and escaped as needed) and the given delimiter (specified in pg_type
but almost always a comma).
Attributes
- Source
- Arr.scala
Value members
Concrete methods
Construct this Arr
's elements as a collection C
, as if first reshaped to be single-dimensional.
Construct this Arr
's elements as a collection C
, as if first reshaped to be single-dimensional.
Attributes
- Source
- Arr.scala
True if this Arr
is empty.