Click or drag to resize

Mapper.UpdateIf<T> Method (Cql)

Updates the table for the poco type specified (T) using the CQL statement specified, using lightweight transactions. Prepends "UPDATE tablename" to the CQL statement you specify, getting the table name appropriately from the POCO Type T.

Returns information whether it was applied or not. If it was not applied, it returns details of the existing values.

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.10.0
Syntax
C#
public AppliedInfo<T> UpdateIf<T>(
	Cql cql
)

Parameters

cql
Type: Cassandra.Mapping.Cql

Type Parameters

T

Return Value

Type: AppliedInfo<T>

Implements

IMapper.UpdateIf<T>(Cql)
See Also