Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members
odbc::ResultSetMetaData Class Reference
Provides meta data about a result set.
More...
#include <resultsetmetadata.h>
List of all members.
Public Types
- enum {
columnNoNulls = SQL_NO_NULLS,
columnNullable = SQL_NULLABLE,
columnNullableUnknown = SQL_NULLABLE_UNKNOWN
}
- Nullability constants.
Public Methods
Detailed Description
Provides meta data about a result set.
Member Function Documentation
std::string odbc::ResultSetMetaData::getCatalogName (
|
int column )
|
|
Get the catalog name for a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
int odbc::ResultSetMetaData::getColumnDisplaySize (
|
int column )
|
|
Get the display size of a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
std::string odbc::ResultSetMetaData::getColumnLabel (
|
int column )
|
|
Get the label (if any) for a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
const std::string & odbc::ResultSetMetaData::getColumnName (
|
int column ) const
|
|
Get the name of a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
int odbc::ResultSetMetaData::getColumnType (
|
int column ) const
|
|
Get the SQL type of a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
-
See also:
-
Types
std::string odbc::ResultSetMetaData::getColumnTypeName (
|
int column )
|
|
Get the name of a columns SQL type.
-
Parameters:
-
column
|
The column index, starting at 1 |
int odbc::ResultSetMetaData::getPrecision (
|
int column ) const
|
|
Get the precision of a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
int odbc::ResultSetMetaData::getScale (
|
int column ) const
|
|
Get the scale of a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
std::string odbc::ResultSetMetaData::getSchemaName (
|
int column )
|
|
Get the schema name for a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
std::string odbc::ResultSetMetaData::getTableName (
|
int column )
|
|
Get the table name for a column.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isAutoIncrement (
|
int column )
|
|
Check if a column is autoincrementing.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isCaseSensitive (
|
int column )
|
|
Check if a column is case sensitive.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isCurrency (
|
int column )
|
|
Check if a column can be a currency (eg fixed precision).
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isDefinitelyWritable (
|
int column )
|
|
Check if a column can be updated.
-
Parameters:
-
column
|
The column index, starting at 1 |
int odbc::ResultSetMetaData::isNullable (
|
int column )
|
|
Check if a column can be set to NULL.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isReadOnly (
|
int column )
|
|
Check if a column is read only.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isSearchable (
|
int column )
|
|
Check if a column can be used in a where-clause.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isSigned (
|
int column )
|
|
Check if a column is signed.
-
Parameters:
-
column
|
The column index, starting at 1 |
bool odbc::ResultSetMetaData::isWritable (
|
int column )
|
|
Check if a column is 'probably' writeable.
-
Parameters:
-
column
|
The column index, starting at 1 |
The documentation for this class was generated from the following file:
- odbc++/resultsetmetadata.h