Sql catalog
This PR implements the basic operations for a Sql catalog. The implementation uses the sqlx crate which enables Postgres, MySQL and Sqlite.
The update_table method is to be implemented later.
PTAL @liurenjie1024 @Xuanwo @ZENOTME @Fokko
cc @JanKaul Is this pr ready for review or you need to do more updates?
I have to add a couple of more changes. I'll notify you when I'm finished.
@JanKaul WDYT? I think this PR is ready for review, I can add the update and delete in a separate PR.
@JanKaul WDYT? I think this PR is ready for review, I can add the update and delete in a separate PR.
Cool, I'll take a look first.
Thank you all for your helpful comments. I think the PR is ready for review again.
@liurenjie1024 @sdd @odysa @ZENOTME @martin-g
the bind placeholder ? will not work with pg databases, which use $1..$N format unfortunately. sqlx docs
Thanks for bringing this up, I haven't thought about it. It's weird though, the test is using sqlite which it's supposed to not work with ? according to the docs.