RDM::DB::QUERY Namespace Reference

The RDM Database Query Namespace. More...

Data Structures

class inner_join_by_key
Inner join by key. More...
class inner_join_by_reference
Inner join by reference. More...
class inner_join_by_referenced
Inner join by referenced. More...
class inner_join_by_referencing
Inner join by referencing. More...
class join_by_key
Template base class for doing a join by key. More...
class join_rows
Template base class for doing a join. More...
class join_rows_to_many
Template base class for doing a join for one to many. More...
class join_rows_to_one
class outer_join_by_key
Outer join by key. More...
class outer_join_by_reference
Outer join by reference. More...
class outer_join_by_referenced
Outer join by referenced. More...
class outer_join_by_referencing
Outer join by referencing. More...

Enumerations

enum position {
POS_NOT_SET = 0, POS_BEFORE_FIRST = 1, POS_ESTABLISHED_BEFORE_FIRST = 2, POS_SET = 3,
POS_AFTER_LAST = -1
}
The position in an ordered set of rows. More...

Detailed Description

The RDM Database Query Namespace.

The RDM Database Query Namespace contains a set of template classes used for querying data from RDM by different types of join.

Enumeration Type Documentation

position

The position in an ordered set of rows.

The position in an ordered set of rows. This is used for many of the classes here to determine how to fetch the next or previous combination of rows for a join.

Enumerator
POS_NOT_SET

The position is not set and fetch_first or fetch_last has to be called to establish a position

POS_BEFORE_FIRST

The position for the cursor is set before its first position

POS_ESTABLISHED_BEFORE_FIRST

The position for the cursor is set before its first position as set by the cursor association. Navigating from this position can only be done if we navigate forward.

POS_SET

The position for the cursor is set at a normal row position

POS_AFTER_LAST

The position for the cursor is set after its last position

@ POS_BEFORE_FIRST
Definition: rdm_db_query.h:87
position
The position in an ordered set of rows.
Definition: rdm_db_query.h:85
@ POS_ESTABLISHED_BEFORE_FIRST
Definition: rdm_db_query.h:88
@ POS_AFTER_LAST
Definition: rdm_db_query.h:90
@ POS_SET
Definition: rdm_db_query.h:89
@ POS_NOT_SET
Definition: rdm_db_query.h:86