Add missing function export in db handler