# ratcl(n) 4 ratcl "Relational Algebra for Tcl"

## NAME

ratcl - A Relational Algebra extension for Tcl

## TABLE OF CONTENTS

TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
EXAMPLE
SEE ALSO
KEYWORDS

## SYNOPSIS

package require ratcl ?4?

view arg operator ... | ...
... view | names
... filename | open
... view | to varname

## DESCRIPTION

The ratcl package implements a general-purpose relational algebra and persistence framework as a notation on top of the Vlerq extension.

## COMMANDS

view arg operator ... | ...
  The view command wraps all the different operators provided by the vlerq package and lets you create pipelines, whereby the output of one operator is fed as input to the next.
... view | names
  Return a list with all the column names of view.
... filename | open
  The open operator opens a Metakit-compatible datafile and returns its root view.
... view | to varname
  Store a view in the varname variable. That same view is also returned as result.

THIS DOCUMENTATION NEEDS TO BE FINISHED

## EXAMPLE

    package require ratcl
    view myile.db open | to v
    puts [view $v names]

This lists all the sub-views available in the myfile.db file.

## SEE ALSO

metakit, vlerq

## KEYWORDS

algebra, database, persistence, relational