orm icon indicating copy to clipboard operation
orm copied to clipboard

Feature Request: PARTITION BY

Open LtMost opened this issue 9 months ago • 1 comments

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Being able to use "PARTITION BY" in $this->createQueryBuilder()->select().

it would help to take away the need to build a workaround for a query that is using this:

SELECT 
    customer_id,
    COUNT(*) OVER (PARTITION BY customer_id) AS order_count_per_customer
FROM 
    Orders;

LtMost avatar May 07 '24 09:05 LtMost