Yes, it's safe. The only differences between execute
and bind*
are:
execute
accepts several parameters at once, while you have tobind*
each one individuallybind*
allows you to specify the parameter type, whileexecute
binds everything as strings
Passing parameters to execute
is mostly a convenience shorthand, it's still safe.