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 support for surrealdb #438

Open
ralyodio opened this issue Oct 7, 2024 · 1 comment
Open

add support for surrealdb #438

ralyodio opened this issue Oct 7, 2024 · 1 comment
Labels
driver-impl Implementation of a sq DB driver enhancement help wanted

Comments

@ralyodio
Copy link

ralyodio commented Oct 7, 2024

add support for surrealdb

@neilotoole neilotoole added help wanted driver-impl Implementation of a sq DB driver labels Oct 13, 2024
@neilotoole
Copy link
Owner

@ralyodio: As currently architectured, the backend DB drivers that sq supports must implement the Go stdlib database/sql interface. From a quick read of the surrealdb Go driver docs, it seems that surrealdb uses a custom driver.

Ultimately, sq could be refactored to support non-database/sql, but it may be an easier lift to wrap the custom surrealdb drivers with a database/sql driver.

To be clear: I would be very, very happy to add support for surrealdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver-impl Implementation of a sq DB driver enhancement help wanted
Projects
None yet
Development

No branches or pull requests

5 participants
@ralyodio @neilotoole and others