Sha256: 5c5b3a252b39d35cecefd6c8ab76a82787336bf7cd188e7d32db131ba95b53dc

Contents?: true

Size: 846 Bytes

Versions: 3

Compression:

Stored size: 846 Bytes

Contents

.TH Ungroup
.PP
Inverse of group
.SH Signature
.PP
.RS
.nf
ungroup(operand: Relation, rva: AttrName) -> Relation
.fi
.RE
.SH Examples
.PP
.RS
.nf
ungroup(group(suppliers, [:city], :suppliers, allbut: true), :suppliers)
.fi
.RE
.SH Description
.PP
Computes the relation obtained by ungrouping a relation\-valued attribute
\fB\fCrva\fR\&. Ungrouping \fB\fCrva\fR leads as many tuples as in \fB\fCrva\fR, each extended
with the other attributes of \fB\fCoperand\fR\&.
.PP
\fB\fCrva\fR must be a relation\-valued attribute. It should not itself contain
any attribute whose name clashes with an attribute of \fB\fCoperand\fR\&.
.SH Implementation notes
.PP
This operator does not compile to SQL so far. Contributions are welcome
to provide it with a SQL compilation for SQL DBMSs that support this kind
of feature (e.g. PostgreSQL with JSON data type)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.4 doc/man/ungroup.man
alf-shell-0.16.0 doc/man/ungroup.man
alf-shell-0.15.0 doc/man/ungroup.man