Skip to content

Tutorial ​

A lesson: one path from an empty project to a typed query, each step shown and checked. Follow it in order; the why can wait for the explanations.

  • Install

    pgcast keeps Zapatos's module names, so you install it under the zapatos alias. Nothing in your imports changes.

  • First query

    By the end of this page, you'll have generated the types of a database, asked it for films and added one, with the SQL and the type of each query in front of you.