getDB public