我想像in 中partial match的子句一样执行。LIKESQL
在 Magical Record 中,要查找指定字段的值,我们使用findByAttribute:
NSArray *productsFoundByTitle = [Product MR_findByAttribute:@"product_title" withValue:@"bags"];
exact matches问题是这只会返回bagsin product_title。我也想返回,所以也会返回partial matches类似 : 的值。mail bags
我怎样才能在 MagicalRecord 中做到这一点?