Flop.run

You're seeing just the function run, go back to Flop module for more information.
Link to this function

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

View Source (since 0.6.0)

Specs

run(Ecto.Queryable.t(), t(), [option()]) :: {[any()], Flop.Meta.t()}

Applies the given Flop to the given queryable, retrieves the data and the meta data.

This function does not validate the given flop parameters. You can validate the parameters with Flop.validate/2 or Flop.validate!/2, or you can use Flop.validate_and_run/3 or Flop.validate_and_run!/3 instead of this function.

iex> {data, meta} = Flop.run(Flop.Pet, %Flop{})
iex> data == []
true
iex> match?(%Flop.Meta{}, meta)
true