Keywords: manual

Next: Appendices Up: Usage Previous: 7. Specialized SQL Structures Contents

# 8. Long Names

By default the Mysql++ API uses both short names with out the Mysql or mysql_ prefix and long names with the Mysql or mysql_ prefix. If this causes name problems define the macro MYSQL_NO_SHORT_NAMES before including mysql++. This will force the use of long names only. The short and long names are mapped as follows:

Short Name | Long Name
BadQuery | MysqlBadQuery
Connection | MysqlConnection
ResNSel | ResNSel
ResUse | ResUse MysqlResUse
Result | MysqlRes
Field | MysqlField
Fields | MysqlFields
ResIter | MysqlResIter
ResultIter | MysqlResIter
Row | MysqlRow
MutableRow | MysqlMutableRow
FieldNames | MysqlFieldNames
Query | MysqlQuery
BadConversion | MysqlBadConversion
ColData | MysqlColData
MutableColData | MysqlMutableColData
quote | mysql_quote
quote_only | mysql_quote_only
quote_double_only | mysql_quote_double_only
escape | mysql_escape
do_nothing | mysql_do_nothing
ignore | mysql_ignore
Date | MysqDate
Time | MysqlTime
DateTime | MysqlDateTime
Set | MysqlSet
Null | MysqlNull
null_type | mysql_null_type
null | mysql_null
NullisNull | MysqlNullisNull
NullisZero | MysqlNullisZero
NullisBlank | MysqlNullisBlank

Next: Appendices Up: Usage Previous: 7. Specialized SQL Structures Contents