Skip to main content


Collections are a structure holding a sequence of items of the same type.

The elements are not computed until its contents are consumed.

For instance, the following:

// Read schema01.table01 from database db01
table = PostgreSQL.InferAndRead("db01", "schema01", "table01")

This function returns a collection. The rows are only read from PostgreSQL as the data is being consumed. The PostgreSQL table contents are not materialized in-memory or on-disk.

Refer to the Collection library documentation for additional operations on collections.

Additionally, refer to the section on Evaluation model for more details.

Finally, refer to the section on Lists for the difference between collections and lists, and when to prefer one over the other.