Originally created by @roceller on GitHub (Sep 1, 2016).
Example code:
`let localData = CoreStore.queryAttributes(
From(ModelUserFollowingXref),
Select("ufxUserId", "ufxStatus", "ufxCreated", "ufxUpdated"),
Where("ufxUserId == %@", row.1["ufx_user_id"].intValue) && Where("userId == %@", row.1["user_id"].intValue)
)`
The result dictionary is not quoted and the NSDate field is causing issue when converting to JSON..
`[[ufxCreated: 2016-07-20 23:27:59 +0000, ufxUpdated: 2016-07-20 23:28:03 +0000, ufxUserId: 151989, ufxStatus: 0]]`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @roceller on GitHub (Sep 1, 2016).
Example code:
let localData = CoreStore.queryAttributes( From(ModelUserFollowingXref), Select("ufxUserId", "ufxStatus", "ufxCreated", "ufxUpdated"), Where("ufxUserId == %@", row.1["ufx_user_id"].intValue) && Where("userId == %@", row.1["user_id"].intValue) )The result dictionary is not quoted and the NSDate field is causing issue when converting to JSON..
[[ufxCreated: 2016-07-20 23:27:59 +0000, ufxUpdated: 2016-07-20 23:28:03 +0000, ufxUserId: 151989, ufxStatus: 0]]@roceller commented on GitHub (Sep 1, 2016):
Nevermind... I didn't have to convert to JSON.