views:

371

answers:

1

Hi !

I use FMDB to wrap SQLite in my app. I haven't found any docs about the use of methods begin, beginUpdates, commit, finalize, etc. I face some problems in my apps which i think are caused by the way i use transactions.

Here is what i tried :

[FMDB beginUpdates] - My insert statement - [FMDB commit] [FMDB finalize]

it crashes with this log :

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[FMDatabase<0xd705a0> finalize]: called when collecting not enabled'

Could you please give me an example of how you are using transactions, or point me to a doc ?

Thanks in advance, Vincent.

A: 

i need tutorial too

KOKARAT