FieldPair class
Defines a relation between matching fields of the two involved tables of a relation.
Contents
Often, a relation is only defined by just one FieldPair with the name of the foreign key column of the referencing (child) table as first element and the name of the primary key column of the referenced (parent) table as the second element.
Constructors, destructors, conversion operators
Public functions
- auto referencedField() const -> QString
- Gets the name of the referenced (parent) field.
- auto referencingField() const -> QString
- Gets the name of the referencing (child) field.