public sealed class ExecuteBatchDmlRequest.Types.Statement : IMessage<ExecuteBatchDmlRequest.Types.Statement>, IEquatable<ExecuteBatchDmlRequest.Types.Statement>, IDeepCloneable<ExecuteBatchDmlRequest.Types.Statement>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class ExecuteBatchDmlRequest.Types.Statement.
Parameter names and values that bind to placeholders in the DML string.
A parameter placeholder consists of the @ character followed by the
parameter name (for example, @firstName). Parameter names can contain
letters, numbers, and underscores.
Parameters can appear anywhere that a literal value is expected. The
same parameter name can be used more than once, for example:
"WHERE id > @msg_id AND id < @msg_id + 100"
It is an error to execute a SQL statement with unbound parameters.
It is not always possible for Cloud Spanner to infer the right SQL type
from a JSON value. For example, values of type BYTES and values
of type STRING both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings.
In these cases, param_types can be used to specify the exact
SQL type for some or all of the SQL statement parameters. See the
definition of [Type][google.spanner.v1.Type] for more information
about SQL types.
[[["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 document provides reference documentation for the \u003ccode\u003eExecuteBatchDmlRequest.Types.Statement\u003c/code\u003e class within the Google Cloud Spanner v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExecuteBatchDmlRequest.Types.Statement\u003c/code\u003e class represents a single DML (Data Manipulation Language) statement used in batch operations and it inherits from the object class, implementing several interfaces, such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe content covers various versions of the API, ranging from version 3.5.0 to the latest beta version 5.0.0-beta05, with each version having its own documentation for the \u003ccode\u003eExecuteBatchDmlRequest.Types.Statement\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eExecuteBatchDmlRequest.Types.Statement\u003c/code\u003e class include \u003ccode\u003eParams\u003c/code\u003e, \u003ccode\u003eParamTypes\u003c/code\u003e, and \u003ccode\u003eSql\u003c/code\u003e, which are used for specifying parameters, their types, and the SQL DML string respectively.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for the class \u003ccode\u003eStatement()\u003c/code\u003e which initializes a new instance, and \u003ccode\u003eStatement(ExecuteBatchDmlRequest.Types.Statement other)\u003c/code\u003e that initializes a new instance with the same members as the parameter \u003ccode\u003eother\u003c/code\u003e are available for the developer.\u003c/p\u003e\n"]]],[],null,[]]