Skip to content
Permalink
Browse files

python bindings for ebc9e02

  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent d2b506c commit bffb3a5d7fe14599c9ceb7a638bb07a12e4e9ee8
Showing with 16 additions and 0 deletions.
  1. +16 −0 python/core/qgsrelation.sip
@@ -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.
You can’t perform that action at this time.