Skip to content

Commit

Permalink
Doxymentation for ebc9e02
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent b3cf454 commit 66b9b0d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/core/qgsrelation.h
Expand Up @@ -227,8 +227,20 @@ class CORE_EXPORT QgsRelation
*/
QList< FieldPair > fieldPairs() const;

/**
* Returns a list of attributes used to form the referenced fields
* (most likely primary key) on the referenced layer.
*
* @return A list of attributes
*/
QgsAttributeList referencedFields() const;

/**
* Returns a list of attributes used to form the referencing fields
* (foreign key) on the referencing layer.
*
* @return A list of attributes
*/
QgsAttributeList referencingFields() const;

/**
Expand Down

0 comments on commit 66b9b0d

Please sign in to comment.