为什么PostgreSQL存储过程不返回所有列?
我检查了一些 stackoverflow 答案,以使用 postgresql 中的存储过程显示表中的所有列。大多数答案都说使用函数是所有列的最佳实践。但是我想知道这是什么原因。任何人都可以详细告诉我。
I checked some StackOverflow answers for showing all columns in the table using stored procedure in Postgresql. And most of the answers says using function is the best practice for all columns shown. But I want to know what is the reason behind that. Can anyone please tell me in detail.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论