Skip to content

Commit

Permalink
Merge pull request #1017 from parkerl/update_docs
Browse files Browse the repository at this point in the history
Clarify wording in Builder.apply_query/4 docs
  • Loading branch information
michalmuskala committed Oct 15, 2015
2 parents 280e1fe + ef37345 commit ca748bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ecto/query/builder.ex
Expand Up @@ -528,8 +528,9 @@ defmodule Ecto.Query.Builder do
@doc """
Applies a query at compilation time or at runtime.
This function is responsible to check if a given query is an
`Ecto.Query` struct at compile time or not and act accordingly.
This function is responsible for checking if a given query is an
`Ecto.Query` struct at compile time. If it is not it will act
accordingly.
If a query is available, it invokes the `apply` function in the
given `module`, otherwise, it delegates the call to runtime.
Expand Down

0 comments on commit ca748bb

Please sign in to comment.