콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
5775 화면

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

아바타
취소