コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5790 ビュー

Hi ! I have created a stored proecedure in postgreSQL and i would like to call it in my python code. Someone could help?

アバター
破棄
最善の回答


Hello,
You can write as following :

self._cr.execute("select * from procudure_name(%s);"%(value))


アバター
破棄
最善の回答

¿Can you translate the stored procedure to ORM? Call stored procedure is not the best solution.

But if not, you can make a get request to external service

アバター
破棄