Most Powerful Open Source ERP

Guideline Never Use ContentValues or ObjectValues On More Than 50 Documents In ZODB

Folders may contain million of documents.
  • Last Update:2019-07-15
  • Version:001
  • Language:en

Never Use ContentValues or ObjectValues On More Than 50 Documents In ZODB

objectValues and contentValues are suitable for folders with a few documents (ex. less than 50). Many folders in ERP5 may include millions of documents. Use searchFolder if you need to list or sort documents in such folder.