Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,334 for model (0.02 sec)

  1. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 10 05:45:46 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            /**
             * The request is for building a model from a parent POM file from a downloaded artifact.
             */
            CONSUMER_PARENT,
            /**
             * The request is for building a model from a dependency POM file from a downloaded artifact.
             */
            CONSUMER_DEPENDENCY
        }
    
        /**
         * The possible merge modes for combining remote repositories.
         */
        enum RepositoryMerging {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. tests/delete_test.go

    		if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    		}
    	}
    
    	for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 1, "Manager": 1, "Team": 0, "Languages": 0, "Friends": 0} {
    		if count := DB.Model(&user).Association(key).Count(); count != value {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.version;
    
    import java.util.List;
    
    import org.apache.maven.model.Model;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.aether.repository.RemoteRepository;
    
    /**
     * Collects settings required to resolve the version for a plugin.
     *
     * @since 3.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

     * under the License.
     */
    package org.apache.maven.plugin;
    
    import java.util.Iterator;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Exclusion;
    import org.apache.maven.model.Plugin;
    
    /**
     */
    class CacheUtils {
    
        /**
         * @deprecated Use {@link Objects#equals(Object)}
         */
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

    import java.util.List;
    import java.util.stream.Stream;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.InputSource;
    import org.apache.maven.api.services.ModelSource;
    import org.apache.maven.api.services.Sources;
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-fields.md

    ## Import `Field` { #import-field }
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes { #declare-model-attributes }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/site/apt/index.apt

     -----
     Introduction
     -----
     Guillaume Nodet
     -----
     2023-11-15
     -----
    
    Maven 4 API - Plugin Descriptor Model
    
     This is the immutable model for Maven Plugin Descriptor in <<<org.apache.maven.api.plugin.descriptor>>> package.
    
     The following are generated from this model:
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

    import gradlebuild.binarycompatibility.rules.SinceAnnotationRule
    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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top