Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Case (0.26 sec)

  1. gorm.go

    			preparedStmt = v.(*PreparedStmtDB)
    		} else {
    			preparedStmt = NewPreparedStmtDB(db.ConnPool)
    			db.cacheStore.Store(preparedStmtDBKey, preparedStmt)
    		}
    
    		switch t := tx.Statement.ConnPool.(type) {
    		case Tx:
    			tx.Statement.ConnPool = &PreparedStmtTX{
    				Tx:             t,
    				PreparedStmtDB: preparedStmt,
    			}
    		default:
    			tx.Statement.ConnPool = &PreparedStmtDB{
    				ConnPool: db.Config.ConnPool,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top