objective c - iOS binary data column not showing up in Sqlite database? -
objective c - iOS binary data column not showing up in Sqlite database? -
hi have next setup:
this definition
@interface item : nsmanagedobject @property (nonatomic, retain) nsnumber * cid; @property (nonatomic, retain) nsdata * image_data; @property (nonatomic, retain) nsstring * image_url; @property (nonatomic, retain) nsnumber * order_id; @property (nonatomic, retain) nsnumber * status; @property (nonatomic, retain) nsstring * title; @property (nonatomic, retain) nsstring * url;
yet somehow see next in sqlite3 database:
sqlite> .schema zitem create table zitem ( z_pk integer primary key, z_ent integer, z_opt integer, zcid integer, zorder_id integer, zstatus integer, zimage_url varchar, ztitle varchar, zurl varchar );
anyone here knows why there isn't zimage_data 1 of these columns?
find out whether value of image_data still there after fetch. that'll give thought whether value beingness kept elsewhere, external storage.
also, create sure transient not set attribute.
ios objective-c cocoa
Comments
Post a Comment