Function cassandra_cpp_sys::cass_statement_set_consistency [] [src]

pub unsafe extern "C" fn cass_statement_set_consistency(
    statement: *mut CassStatement,
    consistency: CassConsistency
) -> CassError

Sets the statement's consistency level.

Default: CASS_CONSISTENCY_LOCAL_ONE

@public @memberof CassStatement

@param[in] statement @param[in] consistency @return CASS_OK if successful, otherwise an error occurred.