アイテムをショッピング カートから注文テーブルに移動する次の生のクエリがあります。
insert into webshop_order_item (
order_id,
product_id,
count
)
select
1,
product_id,
count
from
webshop_cart
すべてのモデリングに Zend DB を使用しています。生のクエリを使用せずに上記のクエリの目標を達成する方法があるかどうか疑問に思っていましたか?