Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 260 for rslave (0.04 seconds)

  1. tests/gaussdb_test.go

    	}
    
    	if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    	yasuo.Name = "jinzhu1"
    	if err := DB.Save(&yasuo).Error; err != nil {
    		t.Errorf("Failed to update date, got error %v", err)
    	}
    
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu1" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/security/index.md

    Al usarlos, puedes aprovechar todas estas herramientas basadas en estándares, incluidos estos sistemas de documentación interactiva.
    
    OpenAPI define los siguientes esquemas de seguridad:
    
    * `apiKey`: una clave específica de la aplicación que puede provenir de:
      * Un parámetro de query.
      * Un header.
      * Una cookie.
    * `http`: sistemas de autenticación HTTP estándar, incluyendo:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. interfaces.go

    	QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
    	QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row
    }
    
    // SavePointerDialectorInterface save pointer interface
    type SavePointerDialectorInterface interface {
    	SavePoint(tx *DB, name string) error
    	RollbackTo(tx *DB, name string) error
    }
    
    // TxBeginner tx beginner
    type TxBeginner interface {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/background-tasks.md

    * Una función de tarea para ejecutar en segundo plano (`write_notification`).
    * Cualquier secuencia de argumentos que deba pasarse a la función de tarea en orden (`email`).
    * Cualquier argumento de palabras clave que deba pasarse a la función de tarea (`message="some notification"`).
    
    ## Inyección de Dependencias { #dependency-injection }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. tests/query_test.go

    			t.Errorf("Incorrect users length, expects: 2, got %v", len(results))
    		}
    
    		for idx := range results {
    			results[idx].Name = results[idx].Name + "_new"
    		}
    
    		if err := tx.Save(results).Error; err != nil {
    			t.Fatalf("failed to save users, got error %v", err)
    		}
    
    		return nil
    	}); result.Error != nil || result.RowsAffected != 6 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  6. internal/event/target/redis.go

    			return false, store.ErrNotConnected
    		}
    		return false, pingErr
    	}
    	return true, nil
    }
    
    // Save - saves the events to the store if questore is configured, which will be replayed when the redis connection is active.
    func (target *RedisTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. cmd/config-current_test.go

    	}
    	if site.Region() != "us-west-1" {
    		t.Errorf("Expecting region `us-west-1` found %s", globalSite.Region())
    	}
    
    	if err := saveServerConfig(t.Context(), objLayer, globalServerConfig); err != nil {
    		t.Fatalf("Unable to save updated config file %s", err)
    	}
    
    	// Initialize server config.
    	if err := loadConfig(objLayer, nil); err != nil {
    		t.Fatalf("Unable to initialize from updated config file %s", err)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  8. docs/tuning/tuned.conf

    net.ipv4.tcp_sack=1
    
    # Low latency mode for TCP
    net.ipv4.tcp_low_latency=1
    
    # The following variable is used to tell the kernel how 
    # much of the socket buffer space should be used for TCP 
    # window size, and how much to save for an application buffer.
    net.ipv4.tcp_adv_win_scale=1
    
    # disable RFC2861 behavior
    net.ipv4.tcp_slow_start_after_idle = 0
    
    # Fix faulty network setups
    net.ipv4.tcp_mtu_probing=1
    net.ipv4.tcp_base_mss=1280
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 23:31:18 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. internal/event/target/mqtt.go

    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will
    // be replayed when the mqtt connection is active.
    func (target *MQTTTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial001_py39.py hl[9] *}
    
    La query es el conjunto de pares clave-valor que van después del `?` en una URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...los parámetros de query son:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top