- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 260 for rslave (0.07 seconds)
-
tests/named_polymorphic_test.go
func TestNamedPolymorphic(t *testing.T) { DB.Migrator().DropTable(&Hamster{}) DB.AutoMigrate(&Hamster{}) hamster := Hamster{Name: "Mr. Hammond", PreferredToy: Toy{Name: "bike"}, OtherToy: Toy{Name: "treadmill"}} DB.Save(&hamster) hamster2 := Hamster{} DB.Preload("PreferredToy").Preload("OtherToy").Find(&hamster2, hamster.Id)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jul 08 09:59:40 GMT 2020 - 4.2K bytes - Click Count (0) -
association.go
column, values := schema.ToQueryValues(rel.FieldSchema.Table, rel.FieldSchema.PrimaryFieldDBNames, fvs) oldBelongsToExpr = clause.IN{Column: column, Values: values} } } // save associations if association.saveAssociation( /*clear*/ true, values...); association.Error != nil { return association.Error } // set old association's foreign key to null switch rel.Type {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
tests/associations_many2many_test.go
{Code: "TestDuplicateMany2ManyAssociation-language-3"}, }} users := []*User{&user1, &user2} var err error err = DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(users).Error AssertEqual(t, nil, err) var findUser1 User err = DB.Preload("Languages").Where("id = ?", user1.ID).First(&findUser1).Error AssertEqual(t, nil, err) AssertEqual(t, user1, findUser1)Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 13.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
* * @throws IOException if `protocol` is unknown. */ @JvmStatic @Throws(IOException::class) fun get(protocol: String): Protocol { // Unroll the loop over values() to save an allocation. @Suppress("DEPRECATION") return when (protocol) { HTTP_1_0.protocol -> HTTP_1_0 HTTP_1_1.protocol -> HTTP_1_1 H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGECreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 23 18:58:57 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too * strict, use {@link #reserialize}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4.1K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/classes-as-dependencies.md
Hasta ahora has visto dependencias declaradas como funciones. Pero esa no es la única forma de declarar dependencias (aunque probablemente sea la más común). El factor clave es que una dependencia debe ser un "callable". Un "**callable**" en Python es cualquier cosa que Python pueda "llamar" como una función.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/es/docs/tutorial/path-params-numeric-validations.md
...Python tiene una sintaxis especial para eso. Pasa `*`, como el primer parámetro de la función. Python no hará nada con ese `*`, pero sabrá que todos los parámetros siguientes deben ser llamados como argumentos de palabras clave (parejas key-value), también conocidos como <abbr title="De: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Incluso si no tienen un valor por defecto. {* ../../docs_src/path_params_numeric_validations/tutorial003_py39.py hl[7] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.4K bytes - Click Count (0) -
ci/official/installer_wheel.sh
# Extract the package name from the wheel name. That is, extract every character # before the pattern "-py3-" in the wheel name. pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}') # Save the current working directory and then switch to the output directory. pushd "${TFCI_OUTPUT_DIR}" # Unpack the wheel to get all the file contents. The pure python wheel we built
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/es/docs/tutorial/sql-databases.md
* `Field(primary_key=True)` le dice a SQLModel que `id` es la **clave primaria** en la base de datos SQL (puedes aprender más sobre claves primarias de SQL en la documentación de SQLModel).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 17K bytes - Click Count (0) -
cmd/signature-v4.go
if pSignValues.Date.After(UTCNow().Add(globalMaxSkewTime)) { return ErrRequestNotReadyYet } if UTCNow().Sub(pSignValues.Date) > pSignValues.Expires { return ErrExpiredPresignRequest } // Save the date and expires. t := pSignValues.Date expireSeconds := int(pSignValues.Expires / time.Second) // Construct new query. query := make(url.Values) clntHashedPayload := req.Form.Get(xhttp.AmzContentSha256)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0)