cp_db_statement_set_binary(3) - Linux man page

Name

cp_db_statement_set_binary - request statement results in binary/text

format

Synopsis

#include <cprops/db.h>

void cp_db_statement_set_binary(cp_db_statement *stmt, int binary);

Description

cp_db_statement_set_binary sets the binary flag on a prepared statement, indicating that results should be returned in text format if binary is zero or binary format if binary is non-zero. Driver implementations may ignore this flag - e.g. the mysql driver always returns prepared statement results in binary format.

Referenced By

cp_db_connection_prepare_statement(3), cp_result_set_next(3)