Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaultBatchSize is not working #845

Open
ttkien opened this issue Sep 8, 2014 · 1 comment
Open

defaultBatchSize is not working #845

ttkien opened this issue Sep 8, 2014 · 1 comment

Comments

@ttkien
Copy link

ttkien commented Sep 8, 2014

Although, I see in MagicalRecord project set default value of defaultBatchSize to 20
"#define kMagicalRecordDefaultBatchSize 20"

but I ran with SQLdebug (see more at this link http://stackoverflow.com/questions/6428630/xcode4-and-core-data-how-to-enable-sql-debugging) and actual raw sqls are:
"CoreData: annotation: total fetch execution time: 0.0008s for 1 rows."
I think expected results should be "CoreData: annotation: total fetch execution time: 0.0008s for 20 rows."

I am new to MagicalRecord. Can you give me your opinion in this point?

Thanks,
Kien Tran

@tonyarnold
Copy link
Contributor

Hi Kien, are you sure that you had 20 objects in your persistent store when you tried this? It should be working OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants