Re: MDB2 and XML databases
| From: | Michael Jackson | Date: | Fri, 03 Aug 2007 15:36:52 +0000 |
| Subject: | Re: MDB2 and XML databases | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47754@lists.php.net to get a copy of this message | ||
oh BTW, AFAIK XML databases don't work with SQL... do they ? A few databases that I worked in the past used a different language that I don't remember the name right now... if that's the case it would break the compatibility with MDB2_Schema as we can represent only standard SQL statements.You're right that XML databases don't work with SQL. It's just not proper for XML documents. I would have to use XPath and XQuery instead (and maybe XUpdate later on). So you bring up a good point. If a user were to switch from using MDB2_Driver_mysql to MDB2_Driver_exist, they would have to change all of their query statements anyways...unless I coded up an interpreter class that converted SQL statements to XQuery (bad idea). Anybody know of an alternative? Michael
Attachment: [application/pkcs7-signature] smime.p7s