Comment 2 for bug 943159

Revision history for this message
Don Schoeman (don.sch) wrote :

The future discussion will basically be about implementing PDO fully. Since PHPDS_query class already implements named arguments in a Python based syntax $(name) it should actually not be too difficult to support SQL based named parameters as I have described above. Perhaps we could simply add a protected $parameter_type option which either specifies 'python' or 'sql' or something along those lines. That option then tells the PHPDS_query::build() function which format to use.