In this project I\'m building, I have many forms to add data to the database that the site u开发者_如何学运维ses. Obviously, if a user add\'s data they must be able to edit this data (or delete it).
i want to store uploaded files in mongodb as GridFsFile. Im using the doctrine 2开发者_运维技巧 odm. it works fine when i read a file from disk and store it. But what i would like to achieve is to avo
Hello I have problem when trying to cascade remove entities in OneToMany relations. After a few hours of debugging I tried to downgrade the doctrine from the latest 2开发者_如何学C.1.2 to 2.0.2 and It
In Symfony 2 I generate a Bundle for storing any type of document into database, but I need the BLOB column type.
I am using Doctrine 2 entities. We have some entities which have to update related items when they are saved to the database. For example, when a user record is modified, we save it as a new record, w
Let\'s say I have a blog application. The author can add multiple images to a post either by giving a link to a url of an existing image on the web, or upload a new image.
When saving form submission data, I\'m having trouble persisting a new entity instance where the entity has a nullable association with another entity and I attempt to set it to null.After creating a
Is it possible to map the same class to both ORM and ODM using annotations? We are deciding what to use so we want to do some performance measurment and we also want to be able to switch the persist
I have this native SQL written in doctrine SELECT COUNT(DISTINCT t.int_task_type_id) as a_count FROM tbl_xref_people_task t
I have two Entities - Users & Challenges. A User can participate in many challenges and a challenge can have many participants (users). I began approaching this problem by creating a Many-To-Many