kadishmal, on 15 February 2011 - 11:07 PM, said:
I also think so. What I think is that it is possible to implement the named placeholders support without the native support in CUBRID engine (until the engine developers implement it). One way is to match the placeholders in the CUBRID DB layer for Yii. The second is in the CUBRID PDO Driver. This way Yii users will not notice any difference. The DB layer or the PDO driver will do that job.
If you have any roadmap for developing the CUBRID DB layer, please share with me. I will join and help you.
The named parameter issue has been solved. I find out that PDO has given its own solution for named parameter, but I didn't know that until I run test cases in PDO
In 62 test cases, 2 of them are failed:
pdo_022.phpt: This test case tests the method getColumnMeta. The comment in this test says, "meta information is a nightmare to handle portably. it's not really PDOs job." So CUBRID doesn't implement this method, but give a method cubrid_schema which can be used to get schema info.
bug_43130.phpt: This test case tests that Bound parameters cannot have - in their name. The CUBRID output don't match the desired output. But if the named parameters don't have -, then all will be OK.