http://qs321.pair.com?node_id=393199


in reply to Re: DBD::mysql and binding placeholders
in thread DBD::mysql and binding placeholders

DBD::Ingres tries to guess by looking at the first bound variable - if it looks like an integer, it is bound like an integer, otherwise as a varchar.

Not foolproof, but it DWYM most of the time, and in the few times where it fails, you get an error, and have to bind with an explicit type.

  • Comment on Re^2: DBD::mysql and binding placeholders