Skip to content

Conversation

@kevinlang
Copy link
Member

@kevinlang kevinlang commented Mar 5, 2021

https://sqlite.org/lang_delete.html

I began an attempt to integrate your ecto driver into ecto_sql, partly to make it easier to leverage their integration tests, and partly because that is probably where we may want it to be long term.
https://github.com/kevinlang/ecto_sql/tree/exqlite

I'm curious of your thoughts on that approach. 💭

Ran into this when trying to run a couple of the integration tests. Looks like this approach will help us find a bunch of bugs.

Most of the tests are currently failing (in that ecto_sql repo), but I think that is probably due to various sandbox-related bugs, and because I am not excluding a bunch of things that SQLite cannot support.

@warmwaffles
Copy link
Member

@kevinlang hah I just came across this trying to fix the DELETE and UPDATE bug I found

@warmwaffles
Copy link
Member

I'm actually okay with that. It's probably best to keep this library strictly just the NIF and sqlite interactions.

@warmwaffles warmwaffles merged commit 77f5309 into elixir-sqlite:main Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants