I get table - $data = Doctrine::getTable(\'product_catalog\')->findAll(); 开发者_开发问答 this table (product_catalog) i link table. has 2 columns with foreign keys.
I have this doctrine query in symfony. It returns a lot of rows when i run mysql code generated by this dql query in phpBB but when i run it in symfony and access its results with this code:
I need to change the time part of a datetime in a database. What I got is in the database: \'2010-01-01 01:00:00\'
I am trying to run this query and getting error \"Unknown relation alias programs\". this is the query.
I\'ve started reading on zend framework and it\'s use with Doctrine and have implemented a small project to grasp the understanding.I\'ve come to a point where i needed my model generated as in having
I want to test whether DQL supports this syntax : ROUND(NOW(), \'YEAR\') (MySQL does). Here is what I tried in MySQL console:
Is it possible to use doctrines magic methods (in this case findBy*) with sfDoctrinePager?I\'m getting the following error:
I just saw that there is no so much documentation about sfGuardAuth groups and permission. I have a permission named : moderator
Imagine a User model like this: class User { /** * ...some mapping info... */ private $username; /** * ...some mapping info...
I have a bunch of entities with both a date_created and date_modified field, and I\'m attempting to have these fields automatically set themselves on insert or update. date_created is only set at inse