how to encode and decode binary data in postgresql ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2861
Views
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)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up