تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3227 أدوات العرض

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)
الصورة الرمزية
إهمال