Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
demoManito committed Oct 10, 2024
1 parent c5081dd commit 6cbdc97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1455,6 +1455,10 @@ func TestQueryScanToArray(t *testing.T) {
}

func TestExists(t *testing.T) {
if DB.Dialector.Name() == "sqlserver" {
t.Skip()
}

ok, err := DB.Table("users").Where("name = ?", "jinzhu").Exists()
if err != nil {
t.Fatalf("Failed to scan, got %v", err)
Expand Down

0 comments on commit 6cbdc97

Please sign in to comment.