RE: [PEAR] MDB docs
| From: | Lukas Smith | Date: | Wed, 29 Oct 2003 14:27:39 +0000 |
| Subject: | RE: [PEAR] MDB docs | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8680@lists.php.net to get a copy of this message | ||
> From: Jeroen Houben [mailto:jeroen@terena.nl]
> Sent: Wednesday, October 29, 2003 3:26 PM
> Lukas Smith wrote:
>
> >>From: Jeroen Houben [mailto:jeroen@terena.nl]
> >>Sent: Wednesday, October 29, 2003 3:15 PM
> >>
> >>
> >
> >
> >
> >>So if I use the execute() method, will all ? placeholders still be
> >>replaced with getTextValue($value) ?
> >>I have a large table with only varchar columns so that would save a lot
> >>of time.
> >>
> >>
> >
> >Yes the default type used for replacement is text ... however you can
> >optionally also pass an array with the type of the input parameters ..
> iirc
> >it's the 4th parameter to execute()
> >
> >
> >
> Thanks again. ! as a placeholder does not seem to be supported though -
> is that right?
Correct .. use the optional 4th parameter instead. MDB simply supports too
many characters to make it worthwhile adding parameters for each like in DB.
> One last question (have to make the most from your ultra short response
> time :-) the docs on backendmedia, are they for MDB 2.x or 1.x? I guess
> I really should be using the docs on the pear site but not all methods
> seem to be documented there, the debugging methods for instance.
They are for MDB 1.x
I simply dont have the time to add docs for all the methods. I am adding
some every time someone spots a bug or I have some time. Any help would be
greatly appreciated of course.
For MDB 2.x I will make use of phpDocumentor for the boring API part.
Actually I (or someone else) could do his for MDB 1.x too.
Regards,
Lukas