- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 39 for jinzhu1 (0.03 sec)
-
logger/sql_test.go
NumericRegexp: nil, Vars: []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd}, Result: `create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values ("jinzhu", 1, 999.99, true, "12345", "2020-02-23 11:10:10", "2020-02-23 11:10:10", NULL, "w@g.""com", "admin", "pass")`, }, {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/go.mod
module gorm.io/gorm/tests go 1.23.0 require ( github.com/google/uuid v1.6.0 github.com/jinzhu/now v1.1.5 github.com/lib/pq v1.10.9 github.com/stretchr/testify v1.11.1 gorm.io/driver/gaussdb v0.1.0 gorm.io/driver/mysql v1.6.0 gorm.io/driver/postgres v1.6.0 gorm.io/driver/sqlite v1.6.0 gorm.io/driver/sqlserver v1.6.1 gorm.io/gorm v1.30.2 ) require ( filippo.io/edwards25519 v1.1.0 // indirect
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/scanner_valuer_test.go
t.Errorf("insert with sql.Expr, but got %v", stmt.SQL.String()) } if !reflect.DeepEqual([]interface{}{"jinzhu", "POINT(100 100)"}, stmt.Vars) { t.Errorf("generated vars is not equal, got %v", stmt.Vars) } stmt = dryRunDB.Model(UserWithPoint{}).Create(map[string]interface{}{ "Name": "jinzhu", "Point": clause.Expr{SQL: "ST_PointFromText(?)", Vars: []interface{}{"POINT(100 100)"}}, }).Statement
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
go.mod
module gorm.io/gorm go 1.18 require ( github.com/jinzhu/inflection v1.0.0 github.com/jinzhu/now v1.1.5 golang.org/x/text v0.20.0
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Nov 21 09:03:31 UTC 2024 - 136 bytes - Viewed (0) -
clause/where_test.go
}}, "SELECT * FROM `users` WHERE `users`.`id` = ? AND `age` > ? OR `name` <> ?", []interface{}{"1", 18, "jinzhu"}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Where{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0) -
clause/values_test.go
[]clause.Interface{ clause.Insert{}, clause.Values{ Columns: []clause.Column{{Name: "name"}, {Name: "age"}}, Values: [][]interface{}{{"jinzhu", 18}, {"josh", 1}}, }, }, "INSERT INTO `users` (`name`,`age`) VALUES (?,?),(?,?)", []interface{}{"jinzhu", 18, "josh", 1}, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 691 bytes - Viewed (0) -
tests/gorm_test.go
} else if results.RowsAffected != 1 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected) } else if got.ID != u1.ID { t.Fatalf("select expects: %v, got %v", u1, got) } u1.Name = "jinzhu" if results := DB.Save(&u1); results.Error != nil { t.Fatalf("errors happened on update: %v", results.Error) } else if results.RowsAffected != 1 { t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 01 07:22:21 UTC 2023 - 3.3K bytes - Viewed (0) -
LICENSE
The MIT License (MIT) Copyright (c) 2013-present Jinzhu <******@****.***> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Jan 12 10:32:39 UTC 2025 - 1.1K bytes - Viewed (0) -
.github/workflows/labeler.yml
jobs: triage: runs-on: ubuntu-latest name: Label issues and pull requests steps: - name: check out uses: actions/checkout@v4 - name: labeler uses: jinzhu/super-labeler-action@develop with:
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 10 06:50:45 UTC 2023 - 423 bytes - Viewed (0) -
clause/benchmarks_test.go
clauses := []clause.Interface{clause.Select{}, clause.From{}, clause.Where{Exprs: []clause.Expression{clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}, clause.Or(clause.Neq{Column: "name", Value: "jinzhu"})}}} for _, clause := range clauses { stmt.AddClause(clause) } stmt.Build("SELECT", "FROM", "WHERE") _ = stmt.SQL.String() } } func BenchmarkComplexSelect(b *testing.B) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0)