2 ms·
I would prefer that API anyway, because it would allow writing reusable code that generates the unsent objects. This is a killer feature of ORMs like Active Rec
by baddox 9y ago
I would prefer that API anyway, because it would allow writing reusable code that generates the unsent objects. This is a killer feature of ORMs like Active Record (although in that case you don’t need an explicit “execute” method because it decides to execute the query when you attempt to iterate on the object.)