Open lefuturiste opened 5 months ago
So it will require to also add sqlite support to kurtbuilds/sqlmo
That's awesome! PRs definitely welcome for both.
I'm a relative beginner to complex typing, trait, lifetime in rust so it's difficult for me to navigate the shear mass of code.
I tried to go full in and try adding feature "sqlite" but it's too difficult for now.
For now the best bet for me is to begin by duplicating the cli crate into cli_sqlite
to workout what's needed and have a prototype.
The main problem is to make the argument "conn" that represent "Connection" configurable to be either PgConnection
or SqliteConnection
.
PgConnection
types to impl Executor
, idk how to that, if you have a example it would be great.
So there is two approach that I see:impl Executor
Hi,
I'm currently working to integrate sqlite into the ormlite CLI.