From c8f303cd304e8fc08c726a03b95d51e998cd21bb Mon Sep 17 00:00:00 2001 From: randomdan Date: Tue, 30 Nov 2010 21:03:08 +0000 Subject: Support binding null to an SQL command parameter Bind null for missing values for SQL merge data --- libodbcpp/command.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libodbcpp/command.h') diff --git a/libodbcpp/command.h b/libodbcpp/command.h index 0517afd..1bc9f6d 100644 --- a/libodbcpp/command.h +++ b/libodbcpp/command.h @@ -29,6 +29,8 @@ namespace ODBC { void bindParamT(unsigned int i, const SQL_TIMESTAMP_STRUCT &); void bindParamT(unsigned int i, time_t); + void bindNull(unsigned int i); + const std::string sql; protected: friend class Param; -- cgit v1.2.3