Add the automatic judgment of DBName of GetCollection function