Skip to content
Permalink
Browse files
python bindings for ebc9e02
  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent d2b506c commit bffb3a5
Showing 1 changed file with 16 additions and 0 deletions.
@@ -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.
*

0 comments on commit bffb3a5

Please sign in to comment.