Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nullableValue (0.24 sec)

  1. migrator/column_type.go

    	}
    	return ct.SQLColumnType.DecimalSize()
    }
    
    // Nullable reports whether the column may be null.
    func (ct ColumnType) Nullable() (nullable bool, ok bool) {
    	if ct.NullableValue.Valid {
    		return ct.NullableValue.Bool, true
    	}
    	return ct.SQLColumnType.Nullable()
    }
    
    // Unique reports whether the column may be unique.
    func (ct ColumnType) Unique() (unique bool, ok bool) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top