A fairly common pattern in a JSON API based server is to support idempotent insert/update (aka upsert). It is especially useful when using client assigned v4 UUIDs as PUT can be used for both create and update.
I noticed a ruby gem https://github.com/seamusabshere/upsert that provides an efficient way to do upsert, however I would rather stick to using Sequel than introduce another dependency. Sequel for me has been a performance and functionality win over the other ruby alternatives, adding upsert is something that would yield performance additional wins. Is there any interest in implementing an upset operation in sequel? -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
