Очень похоже на ошибку в модели.
Check your relationship "tracks" to be "toMany"
"is NULL" behavior is usually for "toOne" relationships.
2008/7/8 Michael Bushkov <[EMAIL PROTECTED]>:
> Hi, Pierre! Thanks for the answer.
> I've actually tried using EOKeyValueQualifier("tracks",
> EOQualifier.Quali
Hi, Pierre! Thanks for the answer.
I've actually tried using EOKeyValueQualifier("tracks",
EOQualifier.QualifierOperatorEquals, NSKeyValueCoding.NullValue). It
generates the following sql, which is just wrong:
SELECT RTRIM(t0.artist), t0.guitarProSongId, t0.id, RTRIM(t0.title)
FROM Song t0 WHERE t0
Hi!
Actually, EOKeyValueQualifier("tracks",
EOQualifier.QualifierOperatorEquals, NSKeyValueCoding.NullValue)
should work just fine.
Please report back if it doesn't. I'd like to know.
An alternative - usually used only for more complex cases - would be
to use the ExistsInRelationshipQual
Hi,
I have quite simple task, but I don't see any proper solution. The
task is as follows:
I have 2 entities - Song and Track. Song has a one-to-many
relationship to Track (Song->tracks). And I need to fetch all songs
which have no tracks. That's all - plain and simple.
I've looked through the lis