MySQL: What does equal colon = = mean in an update expression?

I came across the following MySQL query:

update 'table' set itemId=:itemId, startDate=:startDate where id=:id

However, I could not understand what the meaning of :: means. I think the name after =: is a variable, but then how to check what's inside or how is it set?

+5
source share
1 answer

Most likely a link to a bind variable. PHP or other code that executes the MySQL statement replaces the reference variable.

+6
source

All Articles