# `BeamExport.PreloadError`
[🔗](https://github.com/HataluliRandima/beam_export/blob/v0.1.0/lib/beam_export/errors.ex#L77)

Raised (or returned) when an exported Ecto query contains preloads.

Database cursors (`Repo.stream/2`) cannot preload associations. Load the data with
joins and `select`, or a `:mapper` over joined fields, instead. The query is checked
before anything is written.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
