Hi,
I created a feature request at https://github.com/qgis/QGIS/issues/51116
The parameters need to be discussed ...
Andreas
On 2022-12-05 00:54, Nyall Dawson wrote:
On Wed, 30 Nov 2022 at 00:06, Andreas Neumann via QGIS-Developer
wrote:
Hi,
I am looking for a way to find out the interna
On Wed, 30 Nov 2022 at 00:06, Andreas Neumann via QGIS-Developer
wrote:
>
> Hi,
>
> I am looking for a way to find out the internal id of a related layer with a
> QGIS expression.
>
> @id and $id only work directly on the feature of the source layer, but not on
> related layers.
>
> attributes(
Hi Stefan,
I got it work with "aggregate()" not with "relation_aggregate()"
Not sure if relation_aggregate() works in both directions?
I also got a warning "The generated relations for a polymorphic relation
cannot be used" ...
I have inheritance in my data model - maybe that is the cause th
Hi Andreas,
in case of a relation 1:many you can use the /relation_aggregate/
function, something like:
/
relation_aggregate('test_n_318_fk_test1_7993_id','concatenate',//to_string(@id),',')/
where the first parameter is the ID of the relation.
Hope this helps...
Stefan
Am 29.11.2022 um 15
Hi,
I am looking for a way to find out the internal id of a related layer
with a QGIS expression.
@id and $id only work directly on the feature of the source layer, but
not on related layers.
attributes(
get_feature(
'Other Related Layer',
't_id',
fkey_value
)
)
doe