In some cases, it would be helpfull to be able to evaluate a Notes @-formula against an existing Document and get the value of the formula back. i would love to able to use this functionality in domino-db like so:
const back_from_eval = await document.evaluate('@If(ContentDataType = \'DP\';\'Detailseite\';ContentDataType != \'KP\';ContentDataType;PageTitle)');
The idea is to use this feature e.g. to"simulate" the calculation of a view column with a given Document in a collection by mapping through the document collection and generating values that are not stored in fields..