学说+ SQL Server 存储过程

发布于 2024-09-02 15:05:41 字数 28 浏览 2 评论 0原文

如何使用 Doctrine 调用存储过程?

How can I call a stored procedure using Doctrine?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹿童谣 2024-09-09 15:05:42

Doctrine 本身不支持存储过程。确切的方法取决于学说版本,但最好的办法是使用学说本机接口并直接调用过程,结果最终映射到域类(如果需要)。

Doctrine doesn't have support for stored procedures per se. The exact method depends on doctrine version, but the best thing to do is to use doctrine native interface and call the proc directly with results eventually mapped to a domain class, if needed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文