I am writing a query using the Propel ORM The query is of the form: select * from some_table where some_table.created_at = (SELECT MAX(some_table.created_at) from some_table);
In my project I have 2 databases. propel-build-model is already set up to work for 2 databases - Multiple databases support in Symfony
I have an issue that is quite annoying with symfony 1.2 and propel. I have a model where I have implemented inheritance using the single-table strategy. So, here is an excerpt of my model:
We are finding cases where we get the following 500 error: File xyz.php does not exist or class \"xyz\" was not found in the file at () in SF_ROOT_DIR/lib/vendor/Zend/Loader.php line 107 ...
I have an auto generated BaseBlahBlahBlahFilter.class file in my /lib/filter/base/ folder. It contain the following line for \'data\' type field :
I want to output the query generated by a symfony propel select for testing purposes. Is there any way to do this? I know I can use the sf_debug bar, but sometimes I need to see the state开发者_JS百科
We all know that we can always wrap our database call in transaction ( with or without a proper ORM), in a form like this:
I\'m geting this error in propel whenI run my app: PropelException: Unable to open PDO connection [wrapped: SQLSTATE[HY000] [14] unable to open database file]