Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Relational Database

This example imports one reusable PostgreSQL-compatible schema in <data>, projects it through a <database> component, and generates a relation from the composite foreign key.

Sources: samples/databases.xal and samples/databases.sql. See .xal Relational Databases for database and SQL import syntax.

xaligo validate docs/src/examples/samples/databases.xal
xaligo render docs/src/examples/samples/databases.xal \
  --format svg \
  -o output/databases.svg