public sealed class Write : IMessage<Mutation.Types.Write>, IEquatable<Mutation.Types.Write>, IDeepCloneable<Mutation.Types.Write>, IBufferMessage, IMessage
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
[replace][google.spanner.v1.Mutation.replace] operations.
The values to be written. values can contain more than one
list of values. If it does, then multiple rows are written, one
for each entry in values. Each list in values must have
exactly as many entries as there are entries in [columns][google.spanner.v1.Mutation.Write.columns]
above. Sending multiple lists is equivalent to sending multiple
Mutations, each containing one values entry and repeating
[table][google.spanner.v1.Mutation.Write.table] and [columns][google.spanner.v1.Mutation.Write.columns]. Individual values in each list are
encoded as described [here][google.spanner.v1.TypeCode].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eWrite\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1.Mutation.Types\u003c/code\u003e namespace, used for insert, update, insert_or_update, and replace operations in Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWrite\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling its use in various data manipulation contexts.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e package, from the latest beta (5.0.0-beta05) down to version 3.5.0, offering links to documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWrite\u003c/code\u003e class offers two constructors: a default one and one that takes another \u003ccode\u003eMutation.Types.Write\u003c/code\u003e object as an argument, it also has three properties: \u003ccode\u003eColumns\u003c/code\u003e, \u003ccode\u003eTable\u003c/code\u003e and \u003ccode\u003eValues\u003c/code\u003e allowing for defining the column names, the target table, and the values to be written, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWrite\u003c/code\u003e class contains properties for \u003ccode\u003eTable\u003c/code\u003e, \u003ccode\u003eColumns\u003c/code\u003e, and \u003ccode\u003eValues\u003c/code\u003e which are essential for specifying the data and the location to be modified in Cloud Spanner.\u003c/p\u003e\n"]]],[],null,[]]