We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3cf454 commit 66b9b0dCopy full SHA for 66b9b0d
src/core/qgsrelation.h
@@ -227,8 +227,20 @@ class CORE_EXPORT QgsRelation
227
*/
228
QList< FieldPair > fieldPairs() const;
229
230
+ /**
231
+ * Returns a list of attributes used to form the referenced fields
232
+ * (most likely primary key) on the referenced layer.
233
+ *
234
+ * @return A list of attributes
235
+ */
236
QgsAttributeList referencedFields() const;
237
238
239
+ * Returns a list of attributes used to form the referencing fields
240
+ * (foreign key) on the referencing layer.
241
242
243
244
QgsAttributeList referencingFields() const;
245
246
/**
0 commit comments