#include <rowconvert.h>
Inheritance diagram for pqxxobject::rowconvert:

Public Types | |
| enum | operation_type { OPERATION_INSERT, OPERATION_UPDATE, OPERATION_DELETE } |
| Operation to perform on the database. More... | |
Public Member Functions | |
| rowconvert () | |
| The constructor. | |
| virtual | ~rowconvert () |
| The destructor. | |
| virtual void | initialise (pqxx::result::const_iterator row, transaction &tran)=0 |
| Create a "row object" from a row of a result set. | |
| virtual void | insert (transaction &tran)=0 |
| Insert a row into a table. | |
| virtual void | update (transaction &tran)=0 |
| Update a row from a table. | |
| virtual void | erase (transaction &tran)=0 |
| Remove a row from a table. | |
| virtual void | refresh (transaction &tran)=0 |
| Refresh a row from a table. | |
This class (function object) represents the operations that may be performed by a single row in a database table. This means all conversions between a "row object" class and a row in a database table (or result set) such as selection, insertion, update and deletion.
This class should be inherited by all row classes.
Definition at line 40 of file rowconvert.h.
|
|
Operation to perform on the database.
Definition at line 52 of file rowconvert.h. |
|
|
The constructor.
Definition at line 44 of file rowconvert.h. |
|
|
The destructor.
Definition at line 48 of file rowconvert.h. |
|
|
Remove a row from a table.
|
|
||||||||||||
|
Create a "row object" from a row of a result set. This method converts a row of a result set into an object.
|
|
|
Insert a row into a table.
|
|
|
Refresh a row from a table.
|
|
|
Update a row from a table.
|
1.3.4