- Issue created by @dipakmdhrm
- Open on Drupal.org →Core: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
7 months ago Waiting for branch to pass - Status changed to Needs work
about 2 months ago 12:19pm 19 October 2024
Let's say you have an article content with 'Like' flags. And you want to create a table with just two fields:
To implement this, currently you have to implement a "Flags" relationship, which creates a JOIN
to the flagging
table to do a WHERE
on the flag type value and another join on flag_counts
table to get the count. This can get slow if there are a multiple likes for a content on the site.
This can get reallllyyyy slow if any kind of aggregation is added to views.
Add a new relationship for flag counts for an entity that bypasses the join to flagging
table and uses flag_counts
table directly.
Active
4.0
Views integration