- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 2,671 for worm (0.04 seconds)
-
tests/soft_delete_test.go
package tests_test import ( "database/sql" "encoding/json" "errors" "regexp" "testing" "github.com/jinzhu/now" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestSoftDelete(t *testing.T) { user := *GetUser("SoftDelete", Config{}) DB.Save(&user) var count int64 var age uint if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
docs_src/request_files/tutorial003_an_py39.py
@app.get("/") async def main(): content = """ <body> <form action="/files/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> <form action="/uploadfiles/" enctype="multipart/form-data" method="post"> <input name="files" type="file" multiple> <input type="submit"> </form> </body> """
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 952 bytes - Click Count (0) -
architecture/README.md
# Gradle architecture documentation This directory contains documentation that describes Gradle's architecture and how the various pieces fit together and work. ## Architecture decision records (ADRs) The Gradle team uses ADRs to record architectural decisions that the team has made. See [Architecture decisions records](standards) for the list of ADRs.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 3.6K bytes - Click Count (0) -
chainable_api.go
// // func AmountGreaterThan1000(db *gorm.DB) *gorm.DB { // return db.Where("amount > ?", 1000) // } // // func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB { // return func (db *gorm.DB) *gorm.DB { // return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status) // } // } //
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
docs/uk/docs/tutorial/request-forms.md
## Про "поля форми" HTML-форми (`<form></form>`) надсилають дані на сервер у "спеціальному" кодуванні, яке відрізняється від JSON. **FastAPI** подбає про те, щоб зчитати ці дані з правильного місця, а не з JSON. /// note | Технічні деталі Дані з форм зазвичай кодуються за допомогою "типу медіа" `application/x-www-form-urlencoded`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Feb 28 14:13:50 GMT 2025 - 4K bytes - Click Count (0) -
tests/generics_test.go
"sort" "strconv" "strings" "sync" "testing" "github.com/google/uuid" "gorm.io/driver/mysql" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestGenericsCreate(t *testing.T) { ctx := context.Background() user := User{Name: "TestGenericsCreate", Age: 18} err := gorm.G[User](DB).Create(ctx, &user) if err != nil { t.Fatalf("Create failed: %v", err) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
tests/serializer_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
misc/chrome/gophertool/popup.js
window.addEventListener("submit", function () { console.log("submitting form"); var box = document.getElementById("inputbox"); box.focus(); var t = box.value; if (t == "") { return false; } var success = function(url) { console.log("matched " + t + " to: " + url) box.value = ""; openURL(url); return false; // cancel form submission }; var url = urlForInput(t); if (url) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Oct 21 17:05:21 GMT 2012 - 1020 bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
tests/tracer_test.go
package tests_test import ( "context" "time" "gorm.io/gorm/logger" ) type Tracer struct { Logger logger.Interface Test func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) } func (S Tracer) LogMode(level logger.LogLevel) logger.Interface { return S.Logger.LogMode(level) } func (S Tracer) Info(ctx context.Context, s string, i ...interface{}) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Oct 18 09:28:06 GMT 2022 - 830 bytes - Click Count (0)