# Data

Source: https://docs.anetos.dev/main/reference/data/

- [Models reference](https://docs.anetos.dev/main/reference/models/index.md): How the db package maps a struct to a table. See [Define models and save data](https://docs.anetos.dev/main/guides/models/index.md) for a walkthrough.
- [Query builder reference](https://docs.anetos.dev/main/reference/query-builder/index.md): Everything available on `db.Q[T]`, the query started by `db.Query[T](ctx)`. See [Query data](https://docs.anetos.dev/main/guides/queries/index.md) for a walkthrough.
- [Migrations reference](https://docs.anetos.dev/main/reference/migrations/index.md): The schema builder, the migration runner and the commands in package `anetos.dev/anetos/db/migrate`. See [Migrations](https://docs.anetos.dev/main/guides/migrations/index.md) and [Seed the database](https://docs.anetos.dev/main/guides/seeders/index.md) for walkthroughs.
