- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 661 for ID (0.15 sec)
-
callbacks/create_test.go
type user struct { ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil { t.Errorf("parse schema error: %v, is not expected", err) return } dest := []*user{ { ID: 1, Name: "alice", Email: "email",
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 05:48:42 GMT 2024 - 1.4K bytes - Viewed (0) -
docs/zh/docs/advanced/async-sql-databases.md
然后,扩展`dict` 副本,添加键值对`"id": last_record_id`: ```Python {**note.dict(), "id": last_record_id} ``` 最终返回的结果如下: ```Python { "id": 1, "text": "Some note", "completed": False, } ``` ## 查看文档 复制这些代码,查看文档 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a> API 文档显示如下内容:
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:44:40 GMT 2024 - 4.3K bytes - Viewed (0) -
tests/helper_test.go
func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) { if pet.ID != 0 { var newPet Pet if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil { t.Fatalf("errors happened when query: %v", err) } else { AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name") AssertObjEqual(t, newPet, expect, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name") } }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Mar 19 03:50:28 GMT 2024 - 8K bytes - Viewed (0) -
tests/test_application.py
}, "summary": "Get Id", "operationId": "get_id_path__item_id__get", "parameters": [ { "required": True, "schema": {"title": "Item Id"}, "name": "item_id", "in": "path", }
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 52.2K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Viewed (0) -
manifests/addons/dashboards/istio-mesh-dashboard.json
Json - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 02:28:01 GMT 2024 - 46.4K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
echo "BUG: ILM expiry rules tags not replicated to 'siteb'" exit 1 fi ## Check edit of ILM expiry rule and its replication id=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[] | select(.Expiration.Days==3) | .ID' | sed 's/"//g') ./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket sleep 30s count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days')
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 12.7K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py
assert response.json() == {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]} @needs_py39 def test_query_params_str_validations_item_query_fixedquery(client: TestClient): response = client.get("/items/", params={"item-query": "fixedquery"}) assert response.status_code == 200 assert response.json() == { "items": [{"item_id": "Foo"}, {"item_id": "Bar"}], "q": "fixedquery", }
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java
import org.apache.maven.api.settings.Settings; /** */ public class DefaultSettingsValidator { private static final String ID = "[\\w.-]+"; private static final Pattern ID_REGEX = Pattern.compile(ID); private static final String ILLEGAL_REPO_ID_CHARS = "\\/:\"<>|?*"; // ILLEGAL_FS_CHARS public void validate(Settings settings, boolean isProjectSettings, List<BuilderProblem> problems) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.7K bytes - Viewed (0)