add a function for supporting multi DB