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

how to encode and decode binary data in postgresql ?

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

Odoo encode and decode binary data saved into the database like the content of binary field using base64 so you are free to play with:

import base64
base64.encode(data)
base64.decode(data)
อวตาร
ละทิ้ง