【发布时间】:2014-09-03 23:20:02
【问题描述】:
我正在尝试使用以下谓词:
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"ending_date < date('now')", nil];
但我收到了NSInvalidArgumentException', reason: 'Unable to parse function name 'date:' into supported selector (date:) ',所以我猜可能 iOS 版本的 SQLite
date('now')
我该怎么做?
【问题讨论】: