RSS Feed/News additional where clauses on em()->find?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,688
Points
823

Reputation:

I am unsure if this is possible or not, but with a call like

PHP:

em()->find('XF:Thread')
is it possible to build out the same as with a finder so for instance for it to look like

PHP:

Code:
em()->find('XF:Thread')
->where('thread_title', '=', 'Whatever')
->order('thread_id', 'ASC')

or should I just use a Finder here. This is just for cron task that I have going on.

Continue reading...
 
Status
Not open for further replies.
Top