BeamExport.PreloadError exception (beam_export v0.1.0)

Copy Markdown View Source

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.