Class Update
Update documents/rows in a collection/table
@returns @ref Mysqlx::Resultset
Inheritance
System.Object
Update
Implements
Google.Protobuf.IBufferMessage
Assembly: MySql.Data.dll
Version: 9.2.0
Syntax
public sealed class Update : Google.Protobuf.IMessage<Update>
Constructors
Update()
Declaration
Update(Update)
Declaration
public Update(Update other)
Parameters
Type |
Name |
Description |
Update |
other |
|
Fields
ArgsFieldNumber
Field number for the "args" field.
Declaration
public const int ArgsFieldNumber = 8
Field Value
Type |
Description |
System.Int32 |
|
CollectionFieldNumber
Field number for the "collection" field.
Declaration
public const int CollectionFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
CriteriaFieldNumber
Field number for the "criteria" field.
Declaration
public const int CriteriaFieldNumber = 4
Field Value
Type |
Description |
System.Int32 |
|
DataModelFieldNumber
Field number for the "data_model" field.
Declaration
public const int DataModelFieldNumber = 3
Field Value
Type |
Description |
System.Int32 |
|
LimitExprFieldNumber
Field number for the "limit_expr" field.
Declaration
public const int LimitExprFieldNumber = 9
Field Value
Type |
Description |
System.Int32 |
|
LimitFieldNumber
Field number for the "limit" field.
Declaration
public const int LimitFieldNumber = 5
Field Value
Type |
Description |
System.Int32 |
|
OperationFieldNumber
Field number for the "operation" field.
Declaration
public const int OperationFieldNumber = 7
Field Value
Type |
Description |
System.Int32 |
|
OrderFieldNumber
Field number for the "order" field.
Declaration
public const int OrderFieldNumber = 6
Field Value
Type |
Description |
System.Int32 |
|
Properties
Args
- values for parameters used in filter expression
Declaration
public Google.Protobuf.Collections.RepeatedField<Scalar> Args { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.RepeatedField<Scalar> |
|
Collection
Declaration
public Collection Collection { get; set; }
Property Value
Criteria
- filter expression to match rows that the operations will apply on
Declaration
public Expr Criteria { get; set; }
Property Value
DataModel
- datamodel that the operations refer to
Declaration
public DataModel DataModel { get; set; }
Property Value
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
HasDataModel
Gets whether the "data_model" field is set
Declaration
public bool HasDataModel { get; }
Property Value
Type |
Description |
System.Boolean |
|
Limit
- limits the number of rows to match
(user can set one of: limit, limit_expr)
Declaration
public Limit Limit { get; set; }
Property Value
LimitExpr
- limits the number of rows to match
(user can set one of: limit, limit_expr)
Declaration
public LimitExpr LimitExpr { get; set; }
Property Value
Operation
- list of operations to be applied.
Valid operations will depend on the data_model
Declaration
public Google.Protobuf.Collections.RepeatedField<UpdateOperation> Operation { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.RepeatedField<UpdateOperation> |
|
Order
- specifies order of matched rows
Declaration
public Google.Protobuf.Collections.RepeatedField<Order> Order { get; }
Property Value
Type |
Description |
Google.Protobuf.Collections.RepeatedField<Order> |
|
Parser
Declaration
public static Google.Protobuf.MessageParser<Update> Parser { get; }
Property Value
Type |
Description |
Google.Protobuf.MessageParser<Update> |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
ClearDataModel()
Clears the value of the "data_model" field
Declaration
public void ClearDataModel()
Clone()
Declaration
Returns
Equals(Update)
Declaration
public bool Equals(Update other)
Parameters
Type |
Name |
Description |
Update |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(Update)
Declaration
public void MergeFrom(Update other)
Parameters
Type |
Name |
Description |
Update |
other |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage