示例#1
0
error statement::bind_by_name_n(char const *name,
        size_t name_length, bytes_view value)
{
    return error(::cass_statement_bind_bytes_by_name_n(
                backend(), name, name_length, (cass_byte_t const *)value.data(),
                value.size()));
}
示例#2
0
error statement::bind(size_t index, bytes_view value)
{
    return error(::cass_statement_bind_bytes(backend(), index,
                (cass_byte_t const *)value.data(), value.size()));
}