Is this possible to get resultsets similar to findFirst(), but using $this->modelsManager->executeQuery(some PHQL) ?? Now I'm selecting one row and I have to use foreach ($user as $u) { echo $u->email; } instead echo $user->email; to echo one email.
Is this possible to get resultsets similar to findFirst(), but using $this->modelsManager->executeQuery(some PHQL) ?? Now I'm selecting one row and I have to use foreach ($user as $u) { echo $u->email; } instead echo $user->email; to echo one email.