Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for jinzhu1 (0.03 sec)

  1. clause/expression_test.go

    		Result:       "@@test AND name1 = ? AND name2 = ? AND name3 = ? @notexist",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    		SQL:          "name in (@names)",
    		Vars:         []interface{}{map[string]interface{}{"names": []interface{}{"jinzhu", "jinzhu2"}}},
    		Result:       "name in (?,?)",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2"},
    	}, {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. tests/go.mod

    module gorm.io/gorm/tests
    
    go 1.24.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.31.0
    )
    
    require (
    	filippo.io/edwards25519 v1.1.0 // indirect
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. tests/serializer_test.go

    	}
    
    	createdAt := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
    	updatedAt := createdAt.Unix()
    
    	data := SerializerStruct{
    		Name:            []byte("jinzhu"),
    		Roles:           []string{"r1", "r2"},
    		Contracts:       map[string]interface{}{"name": "jinzhu", "age": 10},
    		EncryptedString: EncryptedString("pass"),
    		CreatedTime:     createdAt.Unix(),
    		UpdatedTime:     &updatedAt,
    		JobInfo: Job{
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. README.md

    ## Contributors
    
    [Thank you](https://github.com/go-gorm/gorm/graphs/contributors) for contributing to the GORM framework!
    
    ## License
    
    © Jinzhu, 2013~time.Now
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 09:30:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. schema/relationship.go

    package schema
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"sync"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    
    	"gorm.io/gorm/clause"
    )
    
    // RelationshipType relationship type
    type RelationshipType string
    
    const (
    	HasOne    RelationshipType = "has_one"      // HasOneRel has one relationship
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 16 04:11:05 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  6. schema/field.go

    package schema
    
    import (
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // special types' reflect type
    var (
    	TimeReflectType    = reflect.TypeOf(time.Time{})
    	TimePtrReflectType = reflect.TypeOf(&time.Time{})
    	ByteReflectType    = reflect.TypeOf(uint8(0))
    )
    
    type (
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 32.2K bytes
    - Viewed (0)
Back to top