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
SQLite client #1764
SQLite client #1764
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work Day! Great stuff. Only minor changes needed:
Let's not use as
and just have two methods. Also - remove the stuff you told yourself to remove :-)
You have a bunch of notes about broken or incomplete things. Can they be dealt with or better notes left?
} | ||
|
||
createDatabaseSQL(): string { | ||
throw new Error("Method not implemented."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we need a NotSupportedError
that can be handled in a standard way in the UI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's a good idea. Would be super useful for the readonly clients as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Let's merge it.
Close #1739
This PR refactors the sqlite client to be a proper class 😀
It also simplifies the query execution methods.