pqxx::cursor_query< TRANSACTION > Class Template Reference
Container-like interface for cursors.
More...
List of all members.
|
Public Member Functions |
| cursor_query (TRANSACTION &trans, const std::string &query, const std::string &name=std::string()) |
const iterator & | end () |
const std::string & | query () const |
Friends |
class | cursor_query::iterator |
Detailed Description
template<typename TRANSACTION>
class pqxx::cursor_query< TRANSACTION >
Container-like interface for cursors.
Multiple iterators may operate on the same query, but no consistency between them is guaranteed. They may see different rows, they may see rows in different orders, and they may see different values for the same row unless you make sure that their result sets are not modified. If you want this guarantee, you will need a transaction isolation level of "serializable" and you cannot modify any data that may be included in your result set, at any time while the iterators are alive. Furthermore, iterators cannot be copied.
Constructor & Destructor Documentation
template<typename TRANSACTION> |
pqxx::cursor_query< TRANSACTION >::cursor_query |
( |
TRANSACTION & |
trans, |
|
|
const std::string & |
query, |
|
|
const std::string & |
name = std::string() |
|
) |
|
|
Member Function Documentation
template<typename TRANSACTION> |
const std::string& pqxx::cursor_query< TRANSACTION >::query |
( |
|
) |
const |
|
Friends And Related Function Documentation
template<typename TRANSACTION> |
friend class cursor_query::iterator [friend]
|
|
The documentation for this class was generated from the following file:
Generated on Tue Sep 9 18:59:49 2003 for libpqxx by
1.3.2