扔掉 ORM 的理由
how to check if given update is from trigger or why i hate orms?
* we use orm
* yes, and?
* and we have a problem with it…
* you already said thatnow, imagine a simple scenario:
* objects table (let’s name it “topics”), which contains column: posts_count
* sub-objects table (posts), with foreign key to topics
* triggers which update posts_count on insert/update/delete on postssimple? yes? well. it was. now, enter disaster: orm.
— by depesz

Do you fairly think this is news? I like and read your blog to get necessary information, but sometimes melancholy kills me
Comment by Brandon — April 7, 2008 @ 2:25 am
Blog is NOT ALWAYS have to be news.
Comment by godindark — April 7, 2008 @ 7:31 pm
Yeah, but never the less, I think this post is debatable.
Comment by Totengraber — April 9, 2008 @ 6:36 pm