Only query for a single db when multi_db is False