Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,095 for Model2 (0.04 seconds)

  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 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  2. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/AbstractModelBuildingListener.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    /**
     * Provides a skeleton implementation for model building listeners. The methods of this class are empty.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/mdo/extension.mdo

    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. 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
        @Override
        String id();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolver.java

         *      org.apache.maven.artifact.resolver.ResolutionNode)
         */
    
        @Override
        public ResolutionNode resolveConflict(ResolutionNode node1, ResolutionNode node2) {
            return node1.getDepth() >= node2.getDepth() ? node1 : node2;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.prefix;
    
    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 a plugin prefix.
     *
     * @since 3.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.links;
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData;
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.model.Attachable;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.gradle.util.internal.CollectionUtils;
    
    import java.io.Serializable;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 11:17:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * from a Project Object Model (POM).</p>
     *
     * <p><dfn>Project Object Model</dfn> or <dfn>POM</dfn> refers to the information describing
     * all the information needed to build or consume a project. Those are usually loaded from
     * a file named {@code pom.xml} and loaded into a {@link org.apache.maven.api.model.Model Model}
     * instances.</p>
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/encoder.md

    Тим самим способом ця база даних не прийматиме об'єкт типу Pydantic model (об'єкт з атрибутами), а лише `dict`.
    
    Ви можете використовувати `jsonable_encoder` для цього.
    
    Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top