sqlx-crud
sqlx-crud copied to clipboard
in memory CRUD
Hi is there a way to use the crate with sqlite memory? I was looking at create_table_from_entity but not sure how to combine it with sqlx-crud
All of the doc tests I have in the code use the sqlite in memory database. Just start a sqlx connection.
SqlitePool::connect(":memory:")
It looks like create_table_from_entity uses SeaORM. This project is designed to work with sqlx. I'm not familiar with SeaORM but if you can share the same sqlx connection pool between sqlx-crud and SeaORM then it should work fine.