runQuery on collection