Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3069 มุมมอง

Hello,

I develop a module to my company. We need to access data in an external database (postgres). But I don't know how to do it. We want to fetch data, and to insert data into this database.

May you give me a way to do it ?

Thank you.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

If the other db is an openerp db, you can use xmlrpc protocol to search, read,write and create data. If the db is a normal postgres db you can import in your module the relative python module and use it.

อวตาร
ละทิ้ง