Click or drag to resize

CqlQueryExtensions.UpdateIfExists<TSource> Method

Returns a representation of a UPDATE ... IF EXISTS cql statement, for Lightweight Transactions support.

Namespace:  Cassandra.Data.Linq
Assembly:  Cassandra (in Cassandra.dll) Version: 3.13.0
Syntax
C#
public static CqlConditionalCommand<TSource> UpdateIfExists<TSource>(
	this CqlQuery<TSource> source
)

Parameters

source
Type: Cassandra.Data.Linq.CqlQuery<TSource>

Type Parameters

TSource

Return Value

Type: CqlConditionalCommand<TSource>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CqlQuery<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also