perfomance - DS vs Listview vs Datagrid

0
Hi Community,   We were having some performance issues. A friend mentioned it could be due to Datasource microflows retrieving data. We also have some NPE's on pages to help with UI and Dates. (I'm now binding all NPE's to a session with a find/create flow)   my assumption is that a retrieve in a DS uses the same logic as a datagrid and listview?     so my question is: is my assumption correct? if not, how is it different, what should we take into account? what else should we know regarding retrieving data in mendix? also is retrieving from DB in a nanoflow the same as in a microflow?
asked
1 answers
2

This assumption is correct if you apply entity access in the DS microflows.  If you don't apply entity access in the DS microflow, the logic is different, as the access constraints are not added in the microflow retrieve. The response will be the full list of objects. The objects the user has no access to will only show the GUID, hash and ObjectType, but no attributes(see screenshot, object 0 is one the user doesn't have access to, while the user does have access to object 1).

 

Retrieving data from DB in a nanoflow is different from a microflow, as the nanoflow always applies entity access.

answered