Hi, I have been using straight SQL for years but decided to give ORM a try in a current project.
I have two fields in a table, together they form a user identification code.
With plain PDO, I would write:
SELECT * FROM user WHERE concat(user_prefix,user_code) = :identification
Then bind :
$statement->bindValue(':identification', $value, \PDO::PARAM_STR);