mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 13:03:14 +12:00
chore: skip splitting nil
filter expr
This commit is contained in:
parent
11a43edae4
commit
9284c7a28a
1 changed files with 1 additions and 0 deletions
|
@ -3211,6 +3211,7 @@ defmodule AshPostgres.DataLayer do
|
|||
|
||||
@doc false
|
||||
def split_and_statements(nil), do: []
|
||||
def split_and_statements(%Ash.Filter{expression: nil}), do: []
|
||||
def split_and_statements(other), do: do_split_statements(other)
|
||||
|
||||
def do_split_statements(%Ash.Filter{expression: expression}) do
|
||||
|
|
Loading…
Reference in a new issue