I checked the base_sparse_field module and the fields and models py files from that module and understands the basic definition of it. But does anyone has the usage of the sparse field serialisations ? Or where we can use it ?
Thanks in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
Hi,
Sparse, or serialized fields do not live as a column in the database table. Instead, their values are stored in JSON arrays in a separate field. As a result, these fields cannot be searched or sorted by. If such a sparse field is created as 'manual', this module can unserialize the field.
fields.serialized: Serialized field is used to store data in a field in a json dump
fields.sparse: Sparse field uses a serialized field to store a field in the json dump instead of a normal database column.
Regards
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
3
5월 25
|
2638 | ||
|
1
4월 25
|
1969 | ||
one2one relational field
해결 완료
|
|
3
9월 24
|
15293 | |
|
2
2월 24
|
2992 | ||
|
1
7월 23
|
3143 |