Self-contained SLayer example using SQLite — no server or Docker needed.
cd examples/embedded
python run.pyThis will:
- Create a SQLite database with sample e-commerce data
- Auto-ingest models with rollup joins
- Run 5 sample queries demonstrating filters, joins, ordering
python verify.pyRuns assertions against the seeded data to validate SLayer is working correctly.
- Auto-ingestion from a SQLite database
- Rollup joins: querying
ordersgrouped byproducts__categoryorcustomers__name - Transitive rollup:
orders → customers → regions - Filters: completed orders only
- Ordering + limit: top 3 customers