Re: MDB2 autoExecute type casting on updates
| From: | Lukas Smith | Date: | Thu, 20 Jul 2006 10:56:36 +0000 |
| Subject: | Re: MDB2 autoExecute type casting on updates | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24711@lists.php.net to get a copy of this message | ||
alessandro pasotti wrote:
Hello, I'm just starting with MDB2, form the docs of autoExecute I cannot understand if the param $types (which is not mandatory) is important: does MDB2 handle automatically quoting of fields types or should I pass the field types in $types?You should pass the info explicitly. Otherwise MDB2 will try to guess things as good as possible. here is the documentation for the supported datatypes (would be awesome if someone would port this to peardoc): http://cvs.php.net/viewcvs.cgi/pear/MDB2_Schema/docs/xml_schema_documentation.html?view=co regards, Lukas