iphone app using fmdb wrapper (https://github.com/ccgus/fmdb)