Finder fetch(): I need to apply HAVING on the query or other method

S

Scandal

Guest
Member
Hello all!
I'm using the XF:User finder to select some users.
XF:User has a TO_ONE relation, let's say it Orders (db table xf_sc_orders) and joined via user_id column.

I need do a fetch() with HAVING COUNT(xf_sc_orders.order_id) <= 1

How could I achieve it? Does Finder supports HAVING?
If no, any hint how could I extend only the XF:User finder to achieve this query?

I need to select those users with the most efficient method.

Let me know also if I...

Read more
Finder fetch(): I need to apply HAVING on the query or other method

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    C @ CuteBunny765: Download kese karo is ko
    Top