Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkSubsetTypes (0.12 sec)

  1. src/database/sql/fakedb_test.go

    	}
    	if c.stmtsMade > c.stmtsClosed {
    		return errors.New("fakedb: can't close; dangling statement(s)")
    	}
    	c.db = nil
    	return nil
    }
    
    func checkSubsetTypes(allowAny bool, args []driver.NamedValue) error {
    	for _, arg := range args {
    		switch arg.Value.(type) {
    		case int64, float64, bool, nil, []byte, string, time.Time:
    		default:
    			if !allowAny {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top