// A batch put._,err=datastore.PutMulti(ctx,[]*datastore.Key{k1,k2,k3},[]interface{}{e1,e2,e3})// A batch get.varentities=make([]*T,3)err=datastore.GetMulti(ctx,[]*datastore.Key{k1,k2,k3},entities)// A batch delete.err=datastore.DeleteMulti(ctx,[]*datastore.Key{k1,k2,k3})
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-13 UTC。"],[[["This API supports first-generation runtimes and is applicable when upgrading to corresponding second-generation runtimes, but for App Engine Go 1.12+ runtime updates, a migration guide is available for legacy bundled service migration options."],["Datastore entities, categorized by kind for queries, are created in Go by instantiating a struct, populating its fields, and using `datastore.Put` to save them, with only exported fields being stored."],["Entities can be retrieved using `datastore.Get` with a `*datastore.Key` and updated by modifying the struct attributes and calling `datastore.Put`, which overwrites existing data."],["Entities can be deleted using the `datastore.Delete` function with the entity's key and for large-scale deletion, Dataflow is recommended for bulk operations."],["Batch operations, including `datastore.PutMulti`, `datastore.GetMulti`, and `datastore.DeleteMulti`, allow operations on multiple entities in a single call, however, costs are incurred for each key regardless of its existence, and transactions are recommended for ensuring complete success or failure."]]],[]]