Closed norbert closed 10 years ago
Hi Norbert, I was trying out your Sequel backend with SQLite3, and because DISTINCT ON is not supported on SQLite, I replaced it with a GROUP BY, which seems to work alright. Tell me what you think about it. Thanks!
@norbert thanks for working on this. I would rather not maintain this in the core repo, but you can easily move this to your own repo qu-sequel and just require the shared spec file that we have in lib.
@jnunemaker okay, works for me. The code is now in https://github.com/norbert/quixotic and can still be required as qu-sequel
.
@munshkr your change looked good and has been applied to the new repository.
This is a draft implementation of a Sequel database backend.
As discussed in #8, this uses a fairly "close to the metal" library that supports a wide range of database adapters. Locking is done using
SELECT FOR UPDATE
which is not always optimal. (See delayed_job_active_record for alternatives.)Even though all tests pass this could still use some work.