- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 450 for modal (0.14 sec)
-
tests/count_test.go
}) var count1 int64 if err := DB.Model(&Company{}).Where("name = ?", "company_count_group_a").Group("name").Count(&count1).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count1 != 1 { t.Errorf("Count with group should be 1, but got count: %v", count1) } var count2 int64
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
# Extra Models { #extra-models } Continuing with the previous example, it will be common to have more than one related model. This is especially the case for user models, because: * The **input model** needs to be able to have a password. * The **output model** should not have a password. * The **database model** would probably need to have a hashed password. /// danger
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
api/maven-api-toolchain/src/site/apt/index.apt
2006-11-04 ----- Maven 4 API - Immutable Toolchains Model This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation. See also corresponding {{{../../maven-toolchain-model/index.html}Maven classical toolchains model documentation}}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Dec 31 16:32:07 UTC 2022 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/PathTranslator.java
import java.io.File; import org.apache.maven.model.Model; /** */ @Deprecated public interface PathTranslator { String ROLE = PathTranslator.class.getName(); void alignToBaseDirectory(Model model, File basedir); String alignToBaseDirectory(String path, File basedir); void unalignFromBaseDirectory(Model model, File basedir);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/DocsTest.kt
import model.CIBuildModel import model.Stage fun asDocsTestId( model: CIBuildModel, os: Os, ): String = "${model.projectId}_DocsTest_${os.asName()}" class DocsTestProject( model: CIBuildModel, stage: Stage, val os: Os, testJava: JvmCategory, testTypes: List<DocsTestType>, ) : Project({ id(asDocsTestId(model, os))
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jun 17 10:05:07 UTC 2025 - 3K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
// Clear DB.Model(&users).Association("Company").Clear() AssertAssociationCount(t, users, "Company", 0, "After Clear") DB.Model(&users).Association("Manager").Clear() AssertAssociationCount(t, users, "Manager", 0, "After Clear") // shared company company := Company{Name: "shared"} if err := DB.Model(&users[0]).Association("Company").Append(&company); err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
tests/group_by_test.go
var name string var total int if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby" || total != 60 { t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
} class DefaultFunctionalTestBucketProvider( val model: CIBuildModel, testBucketsJson: File, ) : FunctionalTestBucketProvider { private val allCrossVersionTestBucketProvider = CrossVersionTestBucketProvider(ALL_CROSS_VERSION_BUCKETS, model) private val quickCrossVersionTestBucketProvider = CrossVersionTestBucketProvider(QUICK_CROSS_VERSION_BUCKETS, model)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 10 05:08:24 UTC 2025 - 8.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProvider.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.Model; /** * Provides the super POM that all models implicitly inherit from. * * @since 4.0.0 */ @Experimental public interface SuperPomProvider extends Service { /** * Gets the super POM for the specified model version. * * @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.5K bytes - Viewed (0)