On Feb 19, 5:28 pm, Jason Dixon <[email protected]> wrote:
> Does anyone have an example of this plugin in action? It's not
> immediately clear if/how to use the .apply method.

  Sequel::Model.plugin :prepared_statements

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.

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