nanodbc
A small C++ wrapper for the native C ODBC API
Loading...
Searching...
No Matches
Main classes

Main nanodbc classes. More...

Classes

class  nanodbc::transaction
 A resource for managing transaction commits and rollbacks. More...
 
class  nanodbc::table_valued_parameter
 Support for table-valued parameter. More...
 
class  nanodbc::statement
 Represents a statement on the database. More...
 
class  nanodbc::connection
 Manages and encapsulates ODBC resources such as the connection and environment handles. More...
 
class  nanodbc::result
 A resource for managing result sets from statement execution. More...
 
class  nanodbc::result_iterator
 Single pass input iterator that accesses successive rows in the attached result set. More...
 
class  nanodbc::implementation_row_descriptor
 Provides access to metadata in the Implementation Row Descriptor (IRD) implicitly allocated for a prepared or executed statement. More...
 
class  nanodbc::catalog
 A resource for get catalog information from connected data source. More...
 

Functions

result_iterator nanodbc::begin (result &r)
 Returns an iterator to the beginning of the given result set.
 
result_iterator nanodbc::end (result &) noexcept
 Returns an iterator to the end of a result set.
 

Detailed Description

Main nanodbc classes.

Function Documentation

◆ end()

result_iterator nanodbc::end ( result )
inlinenoexcept

Returns an iterator to the end of a result set.

The default-constructed nanodbc::result_iterator is known as the end-of-result iterator. When a valid nanodbc::result_iterator reaches the end of the underlying result set, it becomes equal to the end-of-result iterator. Dereferencing or incrementing it further is undefined.