Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Elias (0.17 sec)

  1. utils/utils_unix_test.go

    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    			want: "/go/work/proj/gorm_alias/",
    		},
    		{
    			file: "/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/",
    		},
    	}
    	for _, c := range cases {
    		s := sourceDir(c.file)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 731 bytes
    - Viewed (0)
  2. utils/utils_windows_test.go

    			want: `C:/Users/name/go/pkg/mod/gorm.io/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm/utils/utils.go`,
    			want: `C:/go/work/proj/gorm/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm_alias/utils/utils.go`,
    			want: `C:/go/work/proj/gorm_alias/`,
    		},
    		{
    			file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`,
    			want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`,
    		},
    	}
    	for _, c := range cases {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 715 bytes
    - Viewed (0)
  3. clause/clause.go

    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Feb 02 09:15:08 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. migrator/column_type.go

    	ScaleValue         sql.NullInt64
    	NullableValue      sql.NullBool
    	ScanTypeValue      reflect.Type
    	CommentValue       sql.NullString
    	DefaultValueValue  sql.NullString
    }
    
    // Name returns the name or alias of the column.
    func (ct ColumnType) Name() string {
    	if ct.NameValue.Valid {
    		return ct.NameValue.String
    	}
    	return ct.SQLColumnType.Name()
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. clause/expression_test.go

    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias"}},
    		Result: "`table`.`col` AS `alias`",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Column{Table: "table", Name: "col", Alias: "alias", Raw: true}},
    		Result: "table.col AS alias",
    	}, {
    		SQL:    "?",
    		Vars:   []interface{}{clause.Table{Name: "table", Alias: "alias"}},
    		Result: "`table` `alias`",
    	}, {
    		SQL:    "?",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
Back to top