Skip to content

Commit

Permalink
fix: return {:empty, query} on empty atomic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 26, 2024
1 parent ef9d4ae commit 4333a4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/atomics.ex
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ defmodule AshSql.Atomics do

case set do
[] ->
:empty
{:empty, query}

set ->
{:ok,
Expand Down Expand Up @@ -275,7 +275,7 @@ defmodule AshSql.Atomics do

case set do
[] ->
:empty
{:empty, query}

set ->
{:ok,
Expand Down

0 comments on commit 4333a4e

Please sign in to comment.