Sha256: 5cd2dfd2d605cbfc532ca75d3bc46176517784d08d238e4985d1aa0379cd2aa4
Contents?: true
Size: 966 Bytes
Versions: 3
Compression:
Stored size: 966 Bytes
Contents
.TH Wrap .PP Tuple\-valued attribute .SH Signature .PP .RS .nf wrap(operand: Relation, attributes: AttrList, as: AttrName) -> Relation .fi .RE .SH Examples .PP .RS .nf wrap(suppliers, [:city, :status], :extra) .fi .RE .PP .RS .nf wrap(suppliers, [:city, :status], :extra, allbut: true) .fi .RE .SH Description .PP Computes the relation obtained by removing \fB\fCattributes\fR and replacing them by a single attribute (\fB\fCas\fR). The latter is a tuple\-valued attribute obtained by projecting the input tuple on \fB\fCattributes\fR\&. .PP This operators supports an ALL BUT variant, through the \fB\fCallbut\fR option. When set to true, the operator keeps specified attributes and wraps all the remaining ones as a tuple\-valued attribute. .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/wrap.man |
alf-shell-0.16.0 | doc/man/wrap.man |
alf-shell-0.15.0 | doc/man/wrap.man |