allow fetching from HCD

This commit is contained in:
John Rommel Estropia
2015-02-21 21:48:08 +09:00
parent 061a863235
commit f6ced13577
10 changed files with 137 additions and 32 deletions

View File

@@ -106,7 +106,7 @@ class HardcoreDataTests: XCTestCase {
let objs2 = transaction.fetchAll(
TestEntity2.self,
Where("testNumber", isEqualTo: 100) || Where("testNumber", isEqualTo: 90),
Where("testNumber", isEqualTo: 100) || Where("%K == %@", "testNumber", 90),
SortedBy(.Ascending("testEntityID"), .Descending("testString")),
CustomizeQuery { (fetchRequest) -> Void in