Click or drag to resize

MapperUpdateIfAsyncT Method (String, Object)

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:  Dse.Mapping
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public Task<AppliedInfo<T>> UpdateIfAsync<T>(
	string cql,
	params Object[] args
)

Parameters

cql
Type: SystemString
args
Type: SystemObject

Type Parameters

T

Return Value

Type: TaskAppliedInfoT

Implements

IMapperUpdateIfAsyncT(String, Object)
See Also