- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 889 for Model (0.02 sec)
-
tests/main_test.go
t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64 DB.Model(&User{}).Count(&count1) if count1 <= 0 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/BuildScanUtils.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package common import model.Stage import model.StageName import model.TestCoverage fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag""" fun buildScanCustomValueParam(key: String, value: String) = """-Dscan.value.$key=$value"""
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 1.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
import gradlebuild.binarycompatibility.jApiClass import gradlebuild.binarycompatibility.simpleName import japicmp.model.JApiClass import japicmp.model.JApiCompatibility import japicmp.model.JApiConstructor import japicmp.model.JApiField import japicmp.model.JApiMethod private typealias PredicateVisitor = GenericVisitorAdapter<Boolean, Unit?> internal object JavaSourceQueries {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
/// warning Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc). /// ## Declare model attributes You can then use `Field` with model attributes: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *} `Field` works the same way as `Query`, `Path` and `Body`, it has all the same parameters, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:01:18 UTC 2024 - 2.2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/BuildTypeTest.kt
import configurations.CompileAll import configurations.FunctionalTest import configurations.GRADLE_RUNNER_STEP_NAME import jetbrains.buildServer.configs.kotlin.DslContext import model.CIBuildModel import model.JsonBasedGradleSubprojectProvider import model.TestCoverage import model.TestType import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.io.File class BuildTypeTest { init {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Sep 30 07:24:00 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java
* System.out.println(packaging.getId()); // Outputs "jar" * } * </pre> * * @see org.apache.maven.api.Session#requirePackaging(String) * @see org.apache.maven.api.Project#getPackaging() * @see org.apache.maven.api.model.Model#getPackaging() * @since 4.0.0 */ @Experimental @Immutable public interface Packaging extends ExtensibleEnum { /** * The packaging id. */ @Nonnull String id(); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
import gradlebuild.binarycompatibility.rules.SinceAnnotationMissingRule import japicmp.model.JApiAnnotation import japicmp.model.JApiClass import japicmp.model.JApiCompatibility import japicmp.model.JApiConstructor import japicmp.model.JApiField import japicmp.model.JApiMethod import japicmp.model.JApiParameter import me.champeau.gradle.japicmp.report.AbstractContextAwareViolationRule
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Dec 01 20:12:19 UTC 2023 - 16K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
* under the License. */ package org.apache.maven.model.v4; import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.apache.maven.api.model.InputSource;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.utils.Os; /** * OperatingSystemProfileActivator */ @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/distinct_test.go
AssertObjEqual(t, results[idx], expect, "Name", "Age") } var count int64 if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 { t.Errorf("failed to query users count, got error: %v, count: %v", err, count) } if err := DB.Model(&User{}).Distinct("name").Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 3 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 2.5K bytes - Viewed (0)