- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,041 for model (0.02 sec)
-
chainable_api.go
"gorm.io/gorm/clause" "gorm.io/gorm/utils" ) // Model specify the model you would like to run db operations // // // update all users's name to `hello` // db.Model(&User{}).Update("name", "hello") // // if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello` // db.Model(&user).Update("name", "hello") func (db *DB) Model(value interface{}) (tx *DB) { tx = db.getInstance()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 14.8K bytes - Viewed (0) -
tests/update_test.go
} user3.Name = "save3_" if err := DB.Model(User{Model: user3.Model}).Save(&user3).Error; err != nil { t.Fatalf("failed to save user, got %v", err) } var result2 User if err := DB.First(&result2, "name = ?", "save3_").Error; err != nil || result2.ID != user3.ID { t.Fatalf("failed to find updated user, got %v", err) } if err := DB.Model(User{Model: user3.Model}).Save(&struct { gorm.Model
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Dec 04 03:50:58 UTC 2023 - 30.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
*/ package gradlebuild.docs.dsl.docbook; import groovy.lang.Closure; import gradlebuild.docs.dsl.docbook.model.*; import gradlebuild.docs.dsl.source.model.MethodMetaData; import gradlebuild.docs.dsl.source.model.PropertyMetaData; import gradlebuild.docs.dsl.source.model.TypeMetaData; import org.gradle.internal.UncheckedException; import org.w3c.dom.Document; import org.w3c.dom.Element;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.maven.model.Build; import org.apache.maven.model.Model; import org.apache.maven.model.Reporting; import org.apache.maven.model.Resource; /** * DefaultPathTranslator */ @Deprecated @Named @Singleton public class DefaultPathTranslator implements PathTranslator {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiChangeStatus import japicmp.model.JApiConstructor import japicmp.model.JApiField import japicmp.model.JApiImplementedInterface import japicmp.model.JApiMethod import japicmp.util.Optional import javassist.CtClass import me.champeau.gradle.japicmp.report.Violation
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
import java.net.MalformedURLException; import java.util.Arrays; import java.util.concurrent.atomic.AtomicReference; import org.apache.maven.api.model.Dependency; import org.apache.maven.api.model.Parent; import org.apache.maven.model.resolution.ModelResolver; import org.apache.maven.model.resolution.UnresolvableModelException; import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Oct 06 13:04:03 UTC 2024 - 29.9K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
## Additional Response with `model` You can pass to your *path operation decorators* a parameter `responses`. It receives a `dict`: the keys are status codes for each response (like `200`), and the values are other `dict`s with the information for each of them. Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:07:07 UTC 2024 - 8.7K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java
*/ package gradlebuild.docs.dsl.docbook; import gradlebuild.docs.dsl.source.TypeNameResolver; import gradlebuild.docs.dsl.source.model.ClassMetaData; import gradlebuild.docs.dsl.source.model.MethodMetaData; import gradlebuild.docs.dsl.source.model.TypeMetaData; import gradlebuild.docs.model.ClassMetaDataRepository; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import java.util.ArrayList;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
## Nested Models Each attribute of a Pydantic model has a type. But that type can itself be another Pydantic model. So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations. All that, arbitrarily nested. ### Define a submodel For example, we can define an `Image` model: //// tab | Python 3.10+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0)