how can I get results on message notification?
Closed this issue · 1 comments
oes01 commented
I want to get results on message notification?
- (void)message:(NSNotification*)notification
{
//instead
NSString* message = notification.userInfo[SQLClientMessageKey];
//like this
NSArray* results = notification.userInfo[ -- how can I do that ? -- ];
}
martinrybak commented
Notifications are only for errors and messages. To get the query results you have to pass a completion
handler to the execute
method. See the readme.