Add API to get the raw handle of DB