Memorex v0.2.2
  • Pages
  • Modules
  • Mix Tasks

    View Source Memorex.CardLogs (Memorex v0.2.2)

    Functions for interacting with Memorex.Domain.CardLogs.

    Link to this section Summary

    Functions

    all()
    count(query)
    for_day(query, time_now, timezone)
    for_deck(query, deck_id, opts \\ [])
    reviews_count_for_day(deck_id, time_now, timezone)
    where_card_type(query, card_type)

    Link to this section Functions

    Link to this function

    all()

    View Source
    @spec all() :: Ecto.Query.t()
    Link to this function

    count(query)

    View Source
    @spec count(Ecto.Query.t()) :: non_neg_integer()
    Link to this function

    for_day(query, time_now, timezone)

    View Source
    @spec for_day(Ecto.Query.t(), DateTime.t(), String.t()) :: Ecto.Query.t()
    Link to this function

    for_deck(query, deck_id, opts \\ [])

    View Source
    @spec for_deck(Ecto.Query.t(), Memorex.Ecto.Schema.id(), Keyword.t()) ::
      Ecto.Query.t()
    Link to this function

    reviews_count_for_day(deck_id, time_now, timezone)

    View Source
    @spec reviews_count_for_day(Memorex.Ecto.Schema.id(), DateTime.t(), String.t()) ::
      non_neg_integer()
    Link to this function

    where_card_type(query, card_type)

    View Source
    @spec where_card_type(Ecto.Query.t(), Memorex.Domain.Card.card_type()) ::
      Ecto.Query.t()

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.4) for the Elixir programming language