XenForo
Administrative
- Thread starter
- Admin
- #1
I have meet a strange issue via using of the finder of my own Entity.
More specifically, let's say we have these columns on a db table:
id (int)
column1 (int)
column2 (int)
I need during selection to exclude rows for which column1 = column2 (same value).
So I did this:
But it doesn't seem to work.
Any idea?
ادامه مطلب...
More specifically, let's say we have these columns on a db table:
id (int)
column1 (int)
column2 (int)
I need during selection to exclude rows for which column1 = column2 (same value).
So I did this:
$finder->where('column1', '!=', 'column2')
But it doesn't seem to work.
Any idea?
ادامه مطلب...