Sha256: 0fac06acd4ba2cccacc20f40398c85218128317addbc0e355b63fde151bafc1c

Contents?: true

Size: 847 Bytes

Versions: 3

Compression:

Stored size: 847 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.3 doc/man/ungroup.man
alf-shell-0.16.2 doc/man/ungroup.man
alf-shell-0.16.1 doc/man/ungroup.man