ICqlBatch.InsertIfNotExists<T> Method (T, Boolean, Nullable<Int32>, CqlQueryOptions) |
Inserts the specified POCO in Cassandra if not exists.
Namespace: Cassandra.MappingAssembly: Cassandra (in Cassandra.dll) Version: 3.1.0
Syntaxvoid InsertIfNotExists<T>(
T poco,
bool insertNulls,
Nullable<int> ttl,
CqlQueryOptions queryOptions = null
)
Parameters
- poco
- Type: T
- insertNulls
- Type: System.Boolean
- ttl
- Type: System.Nullable<Int32>
- queryOptions (Optional)
- Type: Cassandra.Mapping.CqlQueryOptions
Type Parameters
- T
See Also