Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecimalSize (0.09 sec)

  1. src/database/sql/sql.go

    // by the driver ok is false.
    func (ci *ColumnType) Length() (length int64, ok bool) {
    	return ci.length, ci.hasLength
    }
    
    // DecimalSize returns the scale and precision of a decimal type.
    // If not applicable or if not supported ok is false.
    func (ci *ColumnType) DecimalSize() (precision, scale int64, ok bool) {
    	return ci.precision, ci.scale, ci.hasPrecisionScale
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top