Re: Re: pdo design
| From: | Ard Biesheuvel | Date: | Sun, 23 May 2004 18:55:51 +0000 |
| Subject: | Re: Re: pdo design | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10054@lists.php.net to get a copy of this message | ||
George Schlossnagle wrote:
I don't get this question, can someone reiterate the full context of it for me?For instance, if you prepare the statement "SELECT * FROM <table> WHERE id=?" Firebird can figure out the type of the 'id' param, meaning you don't have to bind it to a certain type, whereas the emulated param binding routines cannot. Additionally, MySQL is a lot more forgiving than Firebird if you put quotes around non-string arguments inside an SQL statement. So we might decide to make the type specification optional, and let it default to 'string'. -- Ard