- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 1,143 for modelA (0.16 seconds)
-
tests/default_value_test.go
package tests_test import ( "testing" "time" "gorm.io/gorm" ) func TestDefaultValue(t *testing.T) { type Harumph struct { gorm.Model Email string `gorm:"not null;index:,unique"` Name string `gorm:"notNull;default:foo"` Name2 string `gorm:"size:233;not null;default:'foo'"` Name3 string `gorm:"size:233;notNull;default:''"` Age int `gorm:"default:18"`
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java
* under the License. */ package org.apache.maven.lifecycle.internal; import java.util.ArrayList; import java.util.List; import org.apache.maven.lifecycle.internal.builder.BuilderCommon; import org.apache.maven.model.Plugin; import org.apache.maven.plugin.MojoExecution; import org.apache.maven.plugin.descriptor.MojoDescriptor; import org.apache.maven.project.MavenProject; /** * <p>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java
/** * <p> * A {@link Builder} encapsulates a strategy for building a set of Maven projects. The default strategy in Maven builds * the projects serially, but a {@link Builder} can employ any type of concurrency model to build the projects. * </p> * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice. */ public interface Builder { //Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
tests/non_std_test.go
if updatedAt1.Format(time.RFC3339Nano) == animal.UpdatedAt.Format(time.RFC3339Nano) { t.Errorf("UpdatedAt should be updated") } var animals []Animal DB.Find(&animals) if count := DB.Model(Animal{}).Where("1=1").Update("CreatedAt", time.Now().Add(2*time.Hour)).RowsAffected; count != int64(len(animals)) { t.Error("RowsAffected should be correct when do batch update") }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
docs/de/docs/advanced/using-request-directly.md
Obwohl jeder andere normal deklarierte Parameter (z. B. der Body, mit einem Pydantic-Modell) dennoch validiert, konvertiert, annotiert, usw. werden würde. Es gibt jedoch bestimmte Fälle, in denen es nützlich ist, auf das `Request`-Objekt zuzugreifen.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.7K bytes - Click Count (0) -
migrator.go
// apply scopes to migrator for len(tx.Statement.scopes) > 0 { tx = tx.executeScopes() } return tx.Dialector.Migrator(tx.Session(&Session{})) } // AutoMigrate run auto migration for given models func (db *DB) AutoMigrate(dst ...interface{}) error { return db.Migrator().AutoMigrate(dst...) } // ViewOption view option type ViewOption struct {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
def test_openapi_schema(): """ Test that example overrides work: * pydantic model schema_extra is included * Body(example={}) overrides schema_extra in pydantic model * Body(examples{}) overrides Body(example={}) and schema_extra in pydantic model """ app = create_app() client = TestClient(app) response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 32.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginConfigurationModule.java
import com.google.inject.Binder; import com.google.inject.Module; import com.google.inject.name.Names; import org.apache.maven.api.model.Plugin; import org.apache.maven.api.xml.XmlNode; import org.apache.maven.internal.xml.XmlPlexusConfiguration; import org.codehaus.plexus.configuration.PlexusConfiguration; class PluginConfigurationModule implements Module { private final Plugin plugin;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-child.xml
<parent> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> </parent> <artifactId>inheritance</artifactId><!-- same as directory name --> <name>Model urls inheritance test child</name> <scm> <url>https://domain.org/override</url><!-- check that this won't impact child.site.url.inherit.append.path attribute inheritance --> </scm> <distributionManagement>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.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; /** * Interface InputLocationTracker. * * @version $Revision$ $Date$ */ @SuppressWarnings("all") public interface InputLocationTracker { // -----------/ // - Methods -/Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0)