Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Incremental Store/EncryptedStore.m
Original file line number Diff line number Diff line change
Expand Up @@ -4112,6 +4112,14 @@ - (void)parseExpression:(NSExpression *)expression
[operator objectForKey:@"format"],
[parameters componentsJoinedByString:@", "]];
}
else if ([value isKindOfClass:[NSDictionary class]]) {
NSUInteger count = [value count];
NSArray *parameters = [NSArray cmdArrayWithObject:@"?" times:count];
*bindings = [value allKeys];
*operand = [NSString stringWithFormat:
[operator objectForKey:@"format"],
[parameters componentsJoinedByString:@", "]];
}
else if ([value isKindOfClass:[NSDate class]]) {
*bindings = value;
*operand = @"?";
Expand Down