- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,150 for vorm (0.02 sec)
-
tests/group_by_test.go
package tests_test import ( "testing" . "gorm.io/gorm/utils/tests" ) func TestGroupBy(t *testing.T) { users := []User{{ Name: "groupby", Age: 10, Birthday: Now(), Active: true, }, { Name: "groupby", Age: 20, Birthday: Now(), }, { Name: "groupby", Age: 30, Birthday: Now(), Active: true, }, { Name: "groupby1", Age: 110,
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
internal/config/policy/opa/config.go
if err != nil { return false, err } // Handle large OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz type opaResultAllow struct { Result struct { Allow bool `json:"allow"` } `json:"result"` } // Handle simpler OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz/allow type opaResult struct { Result bool `json:"result"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/dag.txt
quarkus/extensions/panache/hibernate-orm-panache-common/deployment/pom.xml quarkus/extensions/panache/hibernate-orm-panache-common/runtime/pom.xml quarkus/extensions/panache/panache-common/deployment/pom.xml quarkus/extensions/hibernate-orm/deployment/pom.xml quarkus/extensions/panache/hibernate-orm-panache/runtime/pom.xml quarkus/extensions/hibernate-orm/runtime/pom.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 224K bytes - Viewed (0) -
docs/en/docs/newsletter.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 326 bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
assertThat(request.method).isEqualTo("POST") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(body!!.contentType().toString()).isEqualTo( "application/x-www-form-urlencoded; charset=utf-8", ) assertThat(bodyAsString(body)).isEqualTo("foo") } @Test fun dataPut() { val request = fromArgs("-d", "foo", "-X", "PUT", "http://example.com").createRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
utils/tests/utils.go
package tests import ( "database/sql/driver" "fmt" "go/ast" "reflect" "testing" "time" "gorm.io/gorm/utils" ) func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) { for _, name := range names { rv := reflect.Indirect(reflect.ValueOf(r)) ev := reflect.Indirect(reflect.ValueOf(e)) if rv.IsValid() != ev.IsValid() { t.Errorf("%v: expect: %+v, got %+v", utils.FileWithLineNum(), r, e) return
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
schema/relationship.go
package schema import ( "context" "fmt" "reflect" "strings" "github.com/jinzhu/inflection" "golang.org/x/text/cases" "golang.org/x/text/language" "gorm.io/gorm/clause" ) // RelationshipType relationship type type RelationshipType string const ( HasOne RelationshipType = "has_one" // HasOneRel has one relationship HasMany RelationshipType = "has_many" // HasManyRel has many relationship
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/sql-databases.md
因此,`orion_cat.owner.name`可能是该宠物主人的姓名(来自表`owners`中的列`name`)。 它可能有一个像`"Arquilian"`(一种业务逻辑)。 当您尝试从您的宠物对象访问它时,ORM 将完成所有工作以从相应的表*所有者那里再获取信息。* 常见的 ORM 例如:Django-ORM(Django 框架的一部分)、SQLAlchemy ORM(SQLAlchemy 的一部分,独立于框架)和 Peewee(独立于框架)等。 在这里,我们将看到如何使用**SQLAlchemy ORM**。 以类似的方式,您也可以使用任何其他 ORM。 /// tip 在文档中也有一篇使用 Peewee 的等效的文章。 /// ## 文件结构
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 27.1K bytes - Viewed (0) -
cmd/post-policy_test.go
} contentTypeHdr := req.Header.Get("Content-Type") contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1) req.Header.Set("Content-Type", contentTypeHdr) req.Header.Set("User-Agent", "Mozilla") // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
cmd/utils.go
} // Modify u to choose the ldap option u.Path += "/ldap" // fmt.Println(u) // Pick the LDAP login option. This would return a form page after // following some redirects. `lastReq` would be the URL of the form // page, where we need to POST (submit) the form. req, err = http.NewRequestWithContext(ctx, http.MethodGet, u.String(), nil) if err != nil { return "", fmt.Errorf("new request err (/ldap): %v", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0)