- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 2,234 for modkey (0.1 sec)
-
tests/joins_table_test.go
} if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 { t.Fatalf("Should found soft deleted addresses with unscoped") } DB.Model(&person).Association("Addresses").Clear() if DB.Model(&person).Association("Addresses").Count() != 0 { t.Fatalf("Should deleted all addresses") } if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
// Copyright (c) 2015-2021 MinIO, Inc. // // This file is part of MinIO Object Storage stack // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
* @param options The options to use for serialization, may be {@code null} to use the default values. * @param model The model to serialize, must not be {@code null}. * @throws IOException If the model could not be serialized. */ void write(OutputStream output, Map<String, Object> options, Model model) throws IOException; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
* @return the transformed model, or the input model if no transformation is needed * @throws ModelTransformerException */ @Nonnull default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException { return model; } /** * Apply a transformation on the raw models. * * This method will be called on each raw model being loaded,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.6K bytes - Viewed (0) -
fastapi/routing.py
response_fields = {} for additional_status_code, response in self.responses.items(): assert isinstance(response, dict), "An additional response must be a dict" model = response.get("model") if model: assert is_body_allowed_for_status_code( additional_status_code ), f"Status code {additional_status_code} must not have a response body"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
tests/test_compat.py
# For coverage class Model(BaseModel): foo: Union[str, Dict[str, Any]] fields = get_model_fields(Model) assert not is_scalar_field(fields[0]) def test_get_model_fields_cached(): class Model(BaseModel): foo: str non_cached_fields = get_model_fields(Model) non_cached_fields2 = get_model_fields(Model) cached_fields = get_cached_model_fields(Model)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 11 07:45:30 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/associations_test.go
var emptyUser User var err error // belongs to err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has many err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets) AssertEqual(t, err, gorm.ErrPrimaryKeyRequired) // has one err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
public void write(File output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model) throws IOException { write(output, options, model.getDelegate()); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
tests/joins_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:58:13 UTC 2024 - 15K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
import org.apache.maven.model.DependencyManagement; import org.apache.maven.model.InputLocation; import org.apache.maven.model.Model; import org.apache.maven.model.Parent; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginManagement; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblem.Severity; import org.apache.maven.model.building.ModelProblem.Version;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)