We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69b778f commit b6faa88Copy full SHA for b6faa88
1 file changed
integration_test/sql/sql.exs
@@ -37,8 +37,9 @@ defmodule Ecto.Integration.SQLTest do
37
result = TestRepo.query!("SELECT array[]::integer[] = $1", [[]])
38
assert result.rows == [[true]]
39
40
- query = from t in Tag, where: t.items == []
41
- assert [] == TestRepo.all(query)
+ %{id: tag_id} = TestRepo.insert!(%Tag{uuids: []})
+ query = from t in Tag, where: t.uuids == []
42
+ assert [%{id: ^tag_id}] = TestRepo.all(query)
43
end
44
45
test "query!/4 with dynamic repo" do
0 commit comments