unify cursor db operations