Does anyone have any metrics on the use of these two functions?
The way I see it @GetDocField \ dg.getDocumentByUNID will almost always take longer since it will be hitting an internal indexed view of all the documents in the database whereas @DbLookup \ view.getDocumentByKey is hitting a indexed view of a subset (in most cases) of documents.
Does anyone have any metrics on the use of these two functions?
The way I see it @GetDocField \ dg.getDocumentByUNID will almost always take longer since it will be hitting an internal indexed view of all the documents in the database whereas @DbLookup \ view.getDocumentByKey is hitting a indexed view of a subset (in most cases) of documents.