Many-to-Many with Doctrine 2
Description
Building and testing a many-to-many relationship. This was a bit of a rocky video, but I also include some tips for debugging your Doctrine 2 configuration.
Tags
doctrine, doctrine 2, many-to-many, orm
Building and testing a many-to-many relationship. This was a bit of a rocky video, but I also include some tips for debugging your Doctrine 2 configuration.
doctrine, doctrine 2, many-to-many, orm
You forgot to crop the start of the sound
I guess it took you quite some time to create this video.
I fully understand entire video because I worked with many-to-many, but some parts that you cut, you didn’t quite explained what you skipped, so it can be confusing to people who see these relations the first time.
Just add some deeper explanations on the places you cut and skipped parts of the video if possible (or some effect, so people can tell what is being cut)
Again, thank you very much for the effort you are putting into creating these videos, I’m very trilled that you share your knowledge with the society, these videos are one of a kind on the web, keep up the good work man!
Thank you very much for your tutorial Jon!
Hi Jon,
Can you look into the decimal hicup again: mysql docs state:
The declaration syntax for a DECIMAL column is DECIMAL(M,D). The ranges of values for the arguments in MySQL 5.1 are as follows:
M is the maximum number of digits (the precision). It has a range of 1 to 65. (Older versions of MySQL permitted a range of 1 to 254.)
D is the number of digits to the right of the decimal point (the scale). It has a range of 0 to 30 and must be no larger than M.
It looks like it is part of mysql. Please advise.
Hey Jon,
great tutorials always enjoy reading them. One thing I found though is that it’s best to clear the entity manager $em->clear() in the tear down method, which makes doctrine remove the managed entities from memory.
Keep up the good work, always enjoy watching these.
Hi,
great stuff, but I found it to be helpfull to additionally clear the entity manage after setUp and after tearDown so that I’m sure that nothing ghosts around.
Cheers
Peter