Somehow I can\'t figure out how to implement the following relations using Doctrine 2 syntax: I have Items and Shops. Each ite开发者_运维知识库m has different price and different
Basically I am looking to be able to reuse mode开发者_运维问答l definitions to target both Doctrine models and JSON-Schema.
I having problems at trying to call a MySQL Stored Procedure with Symfony 1.4 and Doctrine 1.2. What I want to do is the following:
Can we have a model class which is singleton in Doctrine? For Singleton classes I should have a private/protected constructor....but this is not possible as I am extending a Doctrine class which has
Hello I have a little problem with requests : In an action executeFiche, I have three requests public function executeFiche(sfWebRequest $request){
I\'m trying to load data from fixtures jobs.yaml and categories.yaml with this command: $ php symfony doctrine:data-load
In my symfony project i\'m working with doctrine for my data models. Also i have the sfMasterSlavePlugin installed to use different connections for different kinds of queries (writes vs. reads).
I\'m pretty new to Doctrine, but as I understand it, the assignIdentifier() method is supposed to tell Doctrine to update the relevant row into the database instead of inserting a new one.
I want to set the start value for auto increment on a column to 1000000 (to avoid conflicts with a legacy application), but can\'t find any document开发者_如何学编程ation that tells me how.
I have two objects: File and FileDetail. A File can have many FileDetails, but a FileDetail can only have one File. I can get this to work, but I can\'t delete anything from the database because of ke