magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Fetch Record using mr_findFirst gives sometimes Empty Records & SQLite file not gives valid save records. #1394

Open inzamamxiq opened 8 months ago

inzamamxiq commented 8 months ago

I am currently using MagicalRecord for local data storage in my project. However, I've encountered an issue with the mr_findFirst method, which occasionally returns empty records. Upon further investigation, I noticed that when I open the corresponding SQLite database using a tool like DB Browser for SQLite, I can see that only IDs are present in the table, no column with title like (name, email) attributes in entity are not show and the relevant column data is missing. i am attaching screenshoot of my SQLite Table content for reference.

Thanks

Image-Table-show-only-ids in columns
Wahajsw commented 7 months ago

Seraj

Wahajsw commented 7 months ago

I am currently using MagicalRecord for local data storage in my project. However, I've encountered an issue with the mr_findFirst method, which occasionally returns empty records. Upon further investigation, I noticed that when I open the corresponding SQLite database using a tool like DB Browser for SQLite, I can see that only IDs are present in the table, no column with title like (name, email) attributes in entity are not show and the relevant column data is missing. i am attaching screenshoot of my SQLite Table content for reference.

Thanks

Image-Table-show-only-ids in columns
Wahajsw commented 7 months ago

F