On Feb 20, 12:51 am, Peter van Hardenberg <[email protected]> wrote:
> On Sun, Feb 19, 2012 at 7:34 PM, Jeremy Evans <[email protected]> wrote:
> > If you do that before loading your models, all of your models will use
> > prepared statements for insert/update/delete statements, and lookups
> > by primary key.  I use this in all of my apps.
>
> why is this not the default if you use it consistently?

Because it is not the optimal configuration in all cases.  It happens
to be the optimal configuration for my cases, but I do not assume that
my cases are representative of all users.

The issue with plugins being enabled by default is that they modify
the included module hierarchy, so it's not possible to undo a plugin
inclusion.  You have to use something like SEQUEL_NO_ASSOCIATIONS
(which disables the loading of the associations plugin), and I don't
want to add more knobs like that.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to