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
Support for SQLite3 #50
Comments
To be fair, there are already a lot of SQLite packages out there. I wonder if this should be really the scope of locopy. |
I'm ok with this if it extends support to other DBAPI 2.0 adapters. I don't think we'd add loading / unloading functionality but just to use the |
@jborchma Yeah I agree with your point. I guess I was more focused on whether or not the current default @fdosani Yes I was thinking the same; it's probably out of the package scope to add a new |
@ak-gupta any traction on this feature? No pressure, just wondering if you needed a hand |
Sorry, I didn't have a chance to work on this until recently. I've made the changes and it looks like the tests are running nicely! I'll submit a PR once I've done another sweep. |
I tried to connect to a local SQLite3 database using Locopy and it threw the following error:
After doing some digging, it looks like the error is being thrown by the default argument in
locopy.database.Database.execute()
forparams
. Once I started usingparams=()
, it started working.e.g.
I tested
params=()
withlocopy.snowflake.Snowflake
as well and it worked.The text was updated successfully, but these errors were encountered: