Current section

Files

Jump to
query_builder lib query where_not_exists_subquery.ex
Raw

lib/query/where_not_exists_subquery.ex

defmodule QueryBuilder.Query.WhereNotExistsSubquery do
@moduledoc false
def where_not_exists_subquery(ecto_query, assoc_list, assoc_fields, scope, filters, or_filters) do
QueryBuilder.Query.Exists.apply_exists(
ecto_query,
assoc_list.root_schema,
assoc_fields,
scope,
filters,
or_filters,
true
)
end
end