dao handler for FMDB