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.
这类问题的唯一相关答案是this,但它没有帮助。 任何朝着正确方向的推动将不胜感激,谢谢!
我最终想出了如何去做。
$result = User::find_by_sql("CALL procedure(?, ?, ?, ?, ?)", array(1, 2, 3, 4, 5));
你可以在那里使用任何模型。 我的过程最终做了一个选择,但我猜 find_by_sql 可以用于任何事情。