blob: 7a982e619ac59c9da766539bb6a8745eee004b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef ODBC_BIND_H
#define ODBC_BIND_H
#include <sql.h>
#include <vector>
namespace ODBC {
class Bind {
public:
virtual ~Bind() = default;
virtual SQLSMALLINT ctype() const = 0; // The C type ID
virtual SQLULEN size() const = 0; // The size of the data
protected:
mutable SQLLEN bindLen; // How much data the driver wants to store
};
}
#endif
|