pub unsafe extern "C" fn cass_batch_set_keyspace(
    batch: *mut CassBatch,
    keyspace: *const c_char
) -> CassError
Expand description

Sets the batch’s keyspace. When using protocol v5 or greater it overrides the session’s keyspace for the batch.

Note: If not set explicitly then the batch will inherit the keyspace of the first child statement with a non-empty keyspace.

@public @memberof CassBatch

@param[in] batch @param[in] keyspace @return CASS_OK if successful, otherwise an error occurred.