Sha256: 4241442308b2fce2c0c8c112646afcb0b2ef88ae42885407e6d11b49e4d0c159
Contents?: true
Size: 621 Bytes
Versions: 1
Compression:
Stored size: 621 Bytes
Contents
Relational restriction (aka where, predicate filtering) SYNOPSIS #(signature) DESCRIPTION This command restricts tuples to those for which PREDICATE evaluates to true. PREDICATE must be a valid tuple expression that returns a truth-value. It may be specified as a ruby code literal, or a mapping between (name, value) pairs. In the latter case, PREDICATE is built as a conjunction of attribute equalities. EXAMPLE # Who are suppliers with a status greater than 20? !(alf restrict suppliers -- "status > 20") # Which suppliers live in London? !(alf restrict suppliers -- city "'London'")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-0.10.0 | doc/operators/relational/restrict.md |