Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commands (0.64 sec)

  1. finisher_api.go

    			tx.Statement.ReflectValue.Set(elem)
    		}
    		tx.Statement.ReflectValue = elem
    	}
    	Scan(rows, tx, ScanInitialized)
    	return tx.Error
    }
    
    // Connection uses a db connection to execute an arbitrary number of commands in fc. When finished, the connection is
    // returned to the connection pool.
    func (db *DB) Connection(fc func(tx *DB) error) (err error) {
    	if db.Error != nil {
    		return db.Error
    	}
    
    	tx := db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. clause/select.go

    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    		clause.Expression = s
    	}
    }
    
    // CommaExpression represents a group of expressions separated by commas.
    type CommaExpression struct {
    	Exprs []Expression
    }
    
    func (comma CommaExpression) Build(builder Builder) {
    	for idx, expr := range comma.Exprs {
    		if idx > 0 {
    			_, _ = builder.WriteString(", ")
    		}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 14 07:51:24 GMT 2021
    - 1.1K bytes
    - Viewed (0)
Back to top