- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for 0123456789 (0.22 sec)
-
tests/sql_builder_test.go
if !regexp.MustCompile(`.*age.*=false,`).MatchString(sql) { t.Errorf("Failed to generate sql, got %v", sql) } stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageFloat(0.12345678)}).Statement sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...) if !regexp.MustCompile(`.*age.*=0.123457,`).MatchString(sql) { t.Errorf("Failed to generate sql, got %v", sql) } }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 16.7K bytes - Viewed (0)