Skip to content

Commit

Permalink
python bindings for ebc9e02
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent d2b506c commit bffb3a5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions python/core/qgsrelation.sip
Expand Up @@ -182,6 +182,22 @@ class QgsRelation
}
%End

/**
* 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;

/**
* Returns the validity of this relation. Don't use the information if it's not valid.
*
Expand Down

0 comments on commit bffb3a5

Please sign in to comment.