|
nanodbc
A small C++ wrapper for the native C ODBC API
|
Result set for a list of columns that compose the primary key of a single table. More...
#include <nanodbc.h>
Public Member Functions | |
| bool | next () |
| Move to the next result in the result set. | |
| string | table_catalog () const |
| Fetch table catalog. | |
| string | table_schema () const |
| Fetch table schema. | |
| string | table_name () const |
| Fetch table name. | |
| string | column_name () const |
| Fetch column name. | |
| short | column_number () const |
| Column sequence number in the key (starting with 1). | |
| string | primary_key_name () const |
| Primary key name. | |
Result set for a list of columns that compose the primary key of a single table.
| short nanodbc::catalog::primary_keys::column_number | ( | ) | const |
Column sequence number in the key (starting with 1).
Returns valye of KEY_SEQ column in result set returned by SQLPrimaryKeys.
| string nanodbc::catalog::primary_keys::primary_key_name | ( | ) | const |
Primary key name.
NULL if not applicable to the data source. Returns valye of PK_NAME column in result set returned by SQLPrimaryKeys.