Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add experimental Sequel backend #62

Closed
wants to merge 1 commit into from

Conversation

norbert
Copy link

@norbert norbert commented Apr 2, 2013

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.

@munshkr
Copy link

munshkr commented Sep 1, 2013

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!

@jnunemaker
Copy link
Collaborator

@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 jnunemaker closed this Dec 22, 2013
@norbert
Copy link
Author

norbert commented Feb 10, 2014

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants