I want to get a field called for instance 'name' in certain document using a key, the view is already sorted using that key and both the key and the field I want are indexed and I am using this formula wich does not return any value but doesn't return an error either
key = plominoContext.field1
for d in view.getDocumentsByKey(key):
I checked the view and the document exists and the field 'name' has a value too. But I cannot figure out what could it because I have the same formula in another database an works fine.
Note: Please use GitHub now https://github.com/plomino/Plomino/issues
you have indented the return line, so your loop stops at the first doc