- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,334 for model (0.73 sec)
-
tests/associations_many2many_test.go
// Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Languages").Find(&user2.Languages) CheckUser(t, user2, user) // Count AssertAssociationCount(t, user, "Languages", 2, "") // Append language := Language{Code: "language-many2many-append", Name: "language-many2many-append"} DB.Create(&language) if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/BuildLogicTest.kt
package configurations import common.Os import common.buildScanTagParam import common.getBuildScanCustomValueParam import model.CIBuildModel import model.Stage class BuildLogicTest( model: CIBuildModel, stage: Stage, ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Build-logic checks" description = "Run check on all build-logic builds" features {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 04:30:54 UTC 2025 - 1.1K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.classrealm; import java.util.List; import java.util.Map; import org.apache.maven.model.Model; import org.apache.maven.model.Plugin; import org.codehaus.plexus.classworlds.realm.ClassRealm; import org.eclipse.aether.artifact.Artifact; /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
@Override public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException { if (model == null) { return null; } // use DefaultJavaToolChain for compatibility with maven 3.2.3 and earlier @SuppressWarnings("deprecation") JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger); // populate the provides sectionRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
schema/relationship_test.go
} else { for _, rel := range relations { checkSchemaRelation(t, s, rel) } } } func TestBelongsToOverrideForeignKey(t *testing.T) { type Profile struct { gorm.Model Name string } type User struct { gorm.Model Profile Profile `gorm:"ForeignKey:ProfileRefer"` ProfileRefer int } checkStructRelation(t, &User{}, Relation{Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 26.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
import java.util.List; import java.util.Map; import java.util.Properties; import org.apache.maven.model.Activation; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblem; import org.apache.maven.model.profile.DefaultProfileActivationContext; import org.apache.maven.model.profile.ProfileSelector; import org.apache.maven.profiles.activation.ProfileActivationException;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java
import org.apache.maven.model.Build; import org.apache.maven.model.Model; /** */ @Deprecated public interface ModelInheritanceAssembler { String ROLE = ModelInheritanceAssembler.class.getName(); void assembleModelInheritance(Model child, Model parent, String childPathAdjustment); void assembleModelInheritance(Model child, Model parent);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
*/ package org.apache.maven.model.building; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.Map; import org.apache.maven.model.Model; import org.apache.maven.model.io.ModelReader; import org.apache.maven.model.locator.ModelLocator;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
* under the License. */ package org.apache.maven.model.interpolation; import java.util.List; import org.apache.maven.model.building.ModelProblem.Severity; import org.apache.maven.model.building.ModelProblem.Version; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.building.ModelProblemCollectorRequest; import org.codehaus.plexus.interpolation.ValueSource;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 2.7K bytes - Viewed (0)