Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[[_conversationDBRef queryOrderedByChild:@"time"] queryStartingAtValue:@(time)] observeSingleEventOfType:FIRDataEventTypeValue withBlock:^(FIRDataSnapshot * _Nonnull snapshot) {
- for (FIRDataSnapshot* child in snapshot.children) {
- NSDictionary* msgData = child.value;
- NSLog(@"msgData: %@", msgData);
- }
- }];
- (lldb) po _conversationDBRef
- https://xxxxx-xxxxxx.firebaseio.com/Strike-Fighter/messages/4_5
- (lldb) po [[_conversationDBRef queryOrderedByChild:@"time"] queryStartingAtValue:@(time)]
- (/Strike-Fighter/messages/4_5 {
- i = time;
- sp = "548914514.2122542";
- })
- [[[_conversationDBRef queryWhereField:@"time" isGreaterThan:@100000]
- queryOrderedByField:@"population"];
Add Comment
Please, Sign In to add comment