跳至內容
選單
此問題已被標幟
1 回覆
3224 瀏覽次數

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)
頭像
捨棄