DoubleEntryLedger.Flop (double_entry_ledger v0.4.0)

View Source

Flop backend bound to the repo configured via DoubleEntryLedger.Config.

All Store pagination helpers dispatch through this backend so consumers aren't required to configure a global :flop, :repo — and so the library honours config :double_entry_ledger, repo: MyApp.Repo without further wiring. Host applications can define their own Flop backend against their own repo independently.

Summary

Functions

all(q, map_or_flop, opts \\ [])

count(q, map_or_flop, opts \\ [])

filter(q, map_or_flop, opts \\ [])

meta(q, map_or_flop, opts \\ [])

order_by(q, map_or_flop, opts \\ [])

paginate(q, map_or_flop, opts \\ [])

query(q, map_or_flop, opts \\ [])

run(q, map_or_flop, opts \\ [])

validate(map_or_flop, opts \\ [])

validate!(map_or_flop, opts \\ [])

validate_and_run(q, map_or_flop, opts \\ [])

validate_and_run!(q, map_or_flop, opts \\ [])