The EGL forEach statement works only with result sets from relational databases. For more information, see the related reference below.