Function cassandra_cpp_sys::cass_statement_bind_decimal
source · [−]pub unsafe extern "C" fn cass_statement_bind_decimal(
statement: *mut CassStatement,
index: usize,
varint: *const cass_byte_t,
varint_size: usize,
scale: cass_int32_t
) -> CassError
Expand description
Bind a “decimal” to a query or bound statement at the specified index.
@public @memberof CassStatement
@param[in] statement @param[in] index @param[in] varint The value is copied into the statement object; the memory pointed to by this parameter can be freed after this call. @param[in] varint_size @param[in] scale @return CASS_OK if successful, otherwise an error occurred.