Sha256: 8b031a8d5ea5c22ae8b03c66d75d626e7928f6e690950d28495b9c20f55e6caa

Contents?: true

Size: 583 Bytes

Versions: 9

Compression:

Stored size: 583 Bytes

Contents

Extend its operand with an unique autonumber attribute

SYNOPSIS

    #(signature)

DESCRIPTION

This non-relational operator guarantees uniqueness of output tuples by adding 
an attribute called AS whose value is an auto-numbered Integer. 

If the presence of duplicates was the only "non-relational" aspect of the input, 
the result is a valid relation for which AS is a candidate key.

EXAMPLE

    # Autonumber suppliers with default attribute name
    !(alf autonum suppliers)

    # Autonumber suppliers with a `unique_id` attribute
    !(alf autonum suppliers -- unique_id)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
alf-shell-0.14.0 doc/operators/non_relational/autonum.md
alf-shell-0.13.1 doc/operators/non_relational/autonum.md
alf-0.12.2 doc/operators/non_relational/autonum.md
alf-0.12.1 doc/operators/non_relational/autonum.md
alf-0.12.0 doc/operators/non_relational/autonum.md
alf-0.11.1 doc/operators/non_relational/autonum.md
alf-0.11.0 doc/operators/non_relational/autonum.md
alf-0.10.1 doc/operators/non_relational/autonum.md
alf-0.10.0 doc/operators/non_relational/autonum.md