Skip to content

Commit

Permalink
Improved class description docs
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jan 12, 2021
1 parent f8b468a commit a1ffcd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgspolymorphicrelation.sip.in
Expand Up @@ -14,9 +14,9 @@
class QgsPolymorphicRelation
{
%Docstring
A polymorphic relation consists of the same properties like an ordinary relation except for the referenced layer which is calculated based on one or several fields of the referencing layer.
A polymorphic relation consists of the same properties like a normal relation except for the referenced layer which is calculated based on one or several fields of the referencing layer.
In its most simple form, the referencing layer will just insert the layer name of the referenced layer into this field.
To be more precise, a Polymorphic relation is a set of standard relations having the same referencing layer but having the referenced layer dynamically defined.
To be more precise, a polymorphic relation is a set of normal relations having the same referencing layer but having the referenced layer dynamically defined.
The polymorphic setting of the layer is solved by using an expression which has to match some properties of the the referenced layer like the table name, schema, uri, layer id, ...

.. versionadded:: 3.18
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgspolymorphicrelation.h
Expand Up @@ -37,9 +37,9 @@ class QgsPolymorphicRelationPrivate;
class QgsExpressionContext;

/**
* A polymorphic relation consists of the same properties like an ordinary relation except for the referenced layer which is calculated based on one or several fields of the referencing layer.
* A polymorphic relation consists of the same properties like a normal relation except for the referenced layer which is calculated based on one or several fields of the referencing layer.
* In its most simple form, the referencing layer will just insert the layer name of the referenced layer into this field.
* To be more precise, a Polymorphic relation is a set of standard relations having the same referencing layer but having the referenced layer dynamically defined.
* To be more precise, a polymorphic relation is a set of normal relations having the same referencing layer but having the referenced layer dynamically defined.
* The polymorphic setting of the layer is solved by using an expression which has to match some properties of the the referenced layer like the table name, schema, uri, layer id, ...
* \ingroup core
* \class QgsPolymorphicRelation
Expand Down

0 comments on commit a1ffcd5

Please sign in to comment.