Hi,
i tried since hours to get an result from this query:
$likes = Likes::query()
->where("usersId = :usersId:")
->andWhere("clickedId = :clickedId:")
->andWhere("likeClicks = :likeClicks:")
->bind(["usersId" => 48, "clickedId" => 0,"likeClicks" => 0 ])
->execute();
Debugged
SELECT `likes`.`id`, `likes`.`usersId`, `likes`.`clickedId`, `likes`.`likeClicks` FROM `likes` WHERE ((`likes`.`usersId` = :usersId) AND (`likes`.`clickedId` = :clickedId)) AND (`likes`.`likeClicks` = :likeClicks)
In phpmyadmin i get an result, but in Phalcon it is empty, when i call $likes->usersId.
i tried several queries, also raw, same result.
Thx Stefan