Question about $finder where - not equal columns

S

Scandal

Guest
Member
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:
$finder->where('column1', '!=', 'column2')

But it doesn't seem to work.
Any idea?

Continue reading...

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    LeakedSquid @ LeakedSquid: what's up guys
    Top