Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for SELECT (0.18 sec)

  1. internal/s3select/select.go

    	s2Type     CompressionType = "S2"
    	snappyType CompressionType = "SNAPPY"
    )
    
    const (
    	maxRecordSize = 1 << 20 // 1 MiB
    )
    
    var parquetSupport bool
    
    func init() {
    	parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn
    }
    
    var bufPool = sync.Pool{
    	New: func() interface{} {
    		// make a buffer with a reasonable capacity.
    		return bytes.NewBuffer(make([]byte, 0, maxRecordSize))
    	},
    }
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  2. tests/table_test.go

    	}
    
    	r = dryDB.Table("gorm.user").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM .gorm.\\..user. WHERE .user.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Select("name").Find(&UserWithTable{}).Statement
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. chainable_api.go

    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  4. tests/sql_builder_test.go

    	var age int64
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 10 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    
    	table := "gorm.users"
    	if DB.Dialector.Name() != "mysql" || isTiDB() {
    		table = "users" // other databases doesn't support select with `database.table`
    	}
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	if !regexp.MustCompile("SELECT .* FROM .users. left join pets.*join accounts.*").MatchString(stmt.SQL.String()) {
    		t.Errorf("joins should be ordered, but got %v", stmt.SQL.String())
    	}
    
    	iv := DB.Table(`table_invoices`).Select(`seller, SUM(total) as total, SUM(paid) as paid, SUM(balance) as balance`).Group(`seller`)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Apr 26 14:19:32 GMT 2023
    - 13.5K bytes
    - Viewed (1)
  6. src/main/webapp/js/admin/plugins/form-validator/theme-default.min.css

    input.error,input.valid,select.error,select.valid{background-position:right 5px center;background-repeat:no-repeat}input.error,select.error{border-color:#b94a48;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAARCAYAAAA/mJfHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAYSmlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarVllVBV/t94TJ6hDdx26pLu7QboVOHRzODQYoIAICmKggoKCiogKBiklJqKIKKhYhIgoKgaKinI/gP7f9733frhr3d+HWc888+y9n73XrJk18wMQFqDR6XEoB0B8QgrD3daC6uvnTyW9ABSEgAJrQJUWmkw3d3V1gv95IQBfRwEBALivT...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 33.3K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		return fmt.Errorf("Select parameters can only be specified with SELECT request type")
    	}
    	if r.Type == SelectRestoreRequest && r.SelectParameters.IsEmpty() {
    		return fmt.Errorf("SELECT restore request requires select parameters to be specified")
    	}
    
    	if r.Type != SelectRestoreRequest && !r.OutputLocation.IsEmpty() {
    		return fmt.Errorf("OutputLocation required only for SELECT request type")
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/advance.jsp

    						key="labels.index_num"
    					/></label>
    				<div class="col-lg-5 col-md-8 col-sm-7 col-xs-6">
    					<la:select property="num" styleId="numSearchOption" styleClass="form-control">
    						<option value="">
    							<la:message key="labels.search_result_select_num" />
    						</option>
    						<la:option value="10">10</la:option>
    						<la:option value="20">20</la:option>
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/advance.jsp

    						key="labels.index_num"
    					/></label>
    				<div class="col-lg-5 col-md-8 col-sm-7 col-xs-6">
    					<la:select property="num" styleId="numSearchOption" styleClass="form-control">
    						<option value="">
    							<la:message key="labels.search_result_select_num" />
    						</option>
    						<la:option value="10">10</la:option>
    						<la:option value="20">20</la:option>
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  10. internal/grid/muxclient.go

    	for {
    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    			err := context.Cause(m.ctx)
    			if !errors.Is(err, errStreamEOF) {
    				m.addErrorNonBlockingClose(respHandler, err)
    			}
    			return
    		case resp, ok := <-respServer:
    			if !ok {
    				return
    			}
    			select {
    			case respHandler <- resp:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top