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.
我如何调用存储在 postgres DB 中的我自己的函数,而我正在选择数据
Doctrine_Query::create() ->select('schema.my_function(id)')
该线程显示了几个选项。如果您只需要执行该函数,那么Raw SQL应该可以工作。如果您需要取回结果,那么您可能需要另一种选择。