Sha256: f2c36ec4fe53fd620dc5bb3164d28cfd996788e0ad00fff6a7aece3c115dcf35

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 Bytes

Contents

Check that input tuples are of a specified heading

SYNOPSIS

    #(signature)

DESCRIPTION

This non-relational ensures that input tuples match a given heading (in strict mode),
or a projection (in non-strict mode). This is useful when connecting to data-sources whose
relation representations must absolutely be checked for type safety.

EXAMPLE

  # Check that the suppliers have the correct heading (since is missing, but ok)
  !(alf type-safe suppliers -- sid String name String status Integer city String since Date)

  # Strict, no attribute can be missing
  !(alf type-safe --strict suppliers -- sid String name String status Integer city String)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alf-shell-0.14.0 doc/operators/non_relational/type-safe.md
alf-shell-0.13.1 doc/operators/non_relational/type-safe.md