Sha256: 085dd91a8e4118ea305743805b37f3f8a55746947bce757f96e0a489e0594b35

Contents?: true

Size: 656 Bytes

Versions: 3

Compression:

Stored size: 656 Bytes

Contents

.TH Rename
.PP
Rename attributes
.SH Signature
.PP
.RS
.nf
rename(operand: Relation, renaming: Renaming) \-> Relation
.fi
.RE
.SH Examples
.PP
.RS
.nf
rename(suppliers, :sid => :supplier_id, :city => :lives_in)
.fi
.RE
.SH Description
.PP
Computes the same relation as \fB\fCoperand\fR expect that some attributes have
been renamed.
.SH Implementation notes
.PP
As of current version, renamings can only be expressed through a Hash
mapping input to output attribute names.
.PP
Other ways of specifying renamining will be added in future versions, such
as prefixing, postfixing, renaming through a Proc, etc. Any patch towards
these improvements is welcome.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.3 doc/man/rename.man
alf-shell-0.16.2 doc/man/rename.man
alf-shell-0.16.1 doc/man/rename.man