Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
誰かがplpgsqlのIN演算子で配列を使用する方法を知っていますか?
SELECT INTO unsolvedNodes array_agg(idDestination) FROM road WHERE idOrigin IN ???
以下のコードは私の問題を解決しました。
SELECT INTO unsolvedNodes array_agg(idDestination) FROM road WHERE idOrigin = ANY(solvedNodes);
DELETE FROM entry_coll_tag WHERE entry_id = obj_id AND tag_id = ANY(coll_ids);
それはちょうどそのようなものです。