What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

  • NullScriptz.nl is for SALE!

    More information, please contact: WinSys32 or mail to: nullscriptzsale@gmail.com

    Buy-Now: $3.000,00
    +/- Unique visitors (Monthly): 10.000+ (Now lower due to inactivity of me) | Average income (Monthly): €100 - €500 + Domain + Server and all files and databases.

[RSS Feed/News] Question about $finder where - not equal columns

NS Bot

Moderator
Staff member
LV
0
 
Joined
Mar 31, 2020
Messages
18,870
Reaction score
131
Points
63
Awards
2
Website
nullscriptz.nl
Country flag
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?

 

Birthdays

Latest resources

Top Bottom