The function is being added back in since the tests rely on it, but it is marked as DEPRECATED since it really should not be a part of the public generic db interface.