- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 450 for modal (0.02 sec)
-
schema/model_test.go
package schema_test import ( "database/sql" "time" "gorm.io/gorm" "gorm.io/gorm/utils/tests" ) type User struct { *gorm.Model Name *string Age *uint Birthday *time.Time Account *tests.Account Pets []*tests.Pet Toys []*tests.Toy `gorm:"polymorphic:Owner"` CompanyID *int Company *tests.Company ManagerID *uint Manager *User
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.1K bytes - Viewed (0) -
tests/scan_test.go
if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2) } DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res) if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
* limitations under the License. */ package promotion import common.VersionedSettingsBranch import jetbrains.buildServer.configs.kotlin.triggers.schedule import model.StageName class PublishNightlyDocumentation( branch: VersionedSettingsBranch, ) : PublishGradleDistributionFullBuild( promotedBranch = branch.branchName, promoteTask = "publishBranchDocs",
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Apr 30 14:48:06 UTC 2025 - 2.1K bytes - Viewed (0) -
docs/en/docs/advanced/additional-status-codes.md
{* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *} /// warning When you return a `Response` directly, like in the example above, it will be returned directly. It won't be serialized with a model, etc. Make sure it has the data you want it to have, and that the values are valid JSON (if you are using `JSONResponse`). /// /// note | Technical Details
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2K bytes - Viewed (0) -
tests/gorm_test.go
// these dialects do not support the "returning" clause return default: // This user struct will leverage the existing users table, but override // the Name field to default to null. type user struct { gorm.Model Name string `gorm:"default:null"` } u1 := user{} if results := DB.Create(&u1); results.Error != nil { t.Fatalf("errors happened on create: %v", results.Error) } else if results.RowsAffected != 1 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jun 01 07:22:21 UTC 2023 - 3.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/extensions/package-info.java
* under the License. */ /** * Provides support for Maven core extensions configuration and management. * * <p>This package contains classes for:</p> * <ul> * <li>Extension configuration model</li> * <li>Extension loading and validation</li> * <li>Extension lifecycle management</li> * </ul> * * @since 4.0.0 */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 13 12:50:59 UTC 2025 - 1.1K bytes - Viewed (0) -
api/pom.xml
<modules> <module>maven-api-annotations</module> <module>maven-api-di</module> <module>maven-api-xml</module> <module>maven-api-model</module> <module>maven-api-plugin</module> <module>maven-api-settings</module> <module>maven-api-toolchain</module> <module>maven-api-metadata</module> <module>maven-api-core</module>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jun 29 22:37:39 UTC 2025 - 3.2K bytes - Viewed (0) -
compat/maven-builder-support/pom.xml
<version>4.1.0-SNAPSHOT</version> </parent> <artifactId>maven-builder-support</artifactId> <name>Maven Builder Support (deprecated)</name> <description>Support for descriptor builders (model, setting, toolchains)</description> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-api-core</artifactId> <scope>provided</scope> </dependency>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Jun 29 22:37:39 UTC 2025 - 1.7K bytes - Viewed (0) -
gorm.go
} // SetupJoinTable setup join table schema func (db *DB) SetupJoinTable(model interface{}, field string, joinTable interface{}) error { var ( tx = db.getInstance() stmt = tx.Statement modelSchema, joinSchema *schema.Schema ) err := stmt.Parse(model) if err != nil { return err } modelSchema = stmt.Schema
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/fa/docs/features.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 15K bytes - Viewed (0)