Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cftype (0.15 sec)

  1. migrator/column_type.go

    package migrator
    
    import (
    	"database/sql"
    	"reflect"
    )
    
    // ColumnType column type implements ColumnType interface
    type ColumnType struct {
    	SQLColumnType      *sql.ColumnType
    	NameValue          sql.NullString
    	DataTypeValue      sql.NullString
    	ColumnTypeValue    sql.NullString
    	PrimaryKeyValue    sql.NullBool
    	UniqueValue        sql.NullBool
    	AutoIncrementValue sql.NullBool
    	LengthValue        sql.NullInt64
    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)
  2. schema/schema.go

    	callbackTypeAfterFind    callbackType = "AfterFind"
    )
    
    // ErrUnsupportedDataType unsupported data type
    var ErrUnsupportedDataType = errors.New("unsupported data type")
    
    type Schema struct {
    	Name                      string
    	ModelType                 reflect.Type
    	Table                     string
    	PrioritizedPrimaryField   *Field
    	DBNames                   []string
    	PrimaryFields             []*Field
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  3. tests/associations_test.go

    }
    
    func TestAssociationEmptyQueryClause(t *testing.T) {
    	type Organization struct {
    		gorm.Model
    		Name string
    	}
    	type Region struct {
    		gorm.Model
    		Name          string
    		Organizations []Organization `gorm:"many2many:region_orgs;"`
    	}
    	type RegionOrg struct {
    		RegionId       uint
    		OrganizationId uint
    		Empty          myType
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. migrator/table_type.go

    }
    
    // Type returns the type of the table.
    func (ct TableType) Type() string {
    	return ct.TypeValue
    }
    
    // Comment returns the comment of current table.
    func (ct TableType) Comment() (comment string, ok bool) {
    	return ct.CommentValue.String, ct.CommentValue.Valid
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri May 05 07:58:27 GMT 2023
    - 688 bytes
    - Viewed (0)
Back to top