You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the fields to be of type NSString. Seems like NSString is the obvious matching for a TEXT field. The field was utf8 encoded in the database.
OHMySQL Environment
OHMySQL version: 2.1.3 (March 2018)
Xcode version: 9.2
Swift version:(if applicable, if not remove)
Platform(s) running OHMySQL: OSX 10.13.3
Demo Project
Don't have a demo project yet. It's not hard to work-around the issue, but maybe it would be nice to have an option to map TEXT to NSString rather than NSData?
The text was updated successfully, but these errors were encountered:
What did you do?
Issued a SELECT from a table with TEXT fields
What happened instead?
The TEXT values came back as NSData types
What did you expect?
I expected the fields to be of type NSString. Seems like NSString is the obvious matching for a TEXT field. The field was utf8 encoded in the database.
OHMySQL Environment
Demo Project
Don't have a demo project yet. It's not hard to work-around the issue, but maybe it would be nice to have an option to map TEXT to NSString rather than NSData?
The text was updated successfully, but these errors were encountered: