Skip to content
← All release notesNewanfra0.1.0

Validate and query your models from the terminal

The first anfra CLI checks your AML models and runs AQL queries on your datasets, with a warm server to keep them fast.

anfra validate checks the models and datasets in your repo and reports what doesn't compile. Pass file globs to see only the problems in those files:

anfra validate "models/*.aml"

anfra query -d <dataset> compiles an AQL query, runs it on the dataset's data source, and returns its rows with the SQL that produced them. It can also compile the query without running it, or only type-check it.

anfra serve starts a warm server for the repo. While it runs, other commands go through it and reuse its database connections, so each one answers faster.

Full changelog (opens in a new tab)