predicateWithColumn value of NULL not possible?
DougPuchalski opened this issue · comments
Is there not a way to find records that have NULL values in a column?
Hi Doug, while it's possible to store NSNulls, it's not possible yet to query for them using either NSFNanoPredicate or NSFNanoSearch.
I have a fix that I'll commit shortly. Thanks for reporting it!
Thanks for jumping on this!
RubyMotion collapses the values of nil and NSNull.null, which breaks the assertions in initWithColumn:(NSFTableColumnType)type matching:(NSFMatchType)matching value:(id)aValue
and the first if in + (NSString *)_querySegmentForAttributeColumnWithValue:(id)anAttributeValue matching:(NSFMatchType)match valueColumnWithValue:(id)aValue
.
Can you explain the reason for distinguishing the values nil and NSNull.null here?
Please don't comment on closed issues. Open a new one instead, so I can submit a potential fix/comment to that issue without mixing issues. Thanks.
Understood. Opened #70.