Implement custom backend #2369
-
Realistically, how hard would it be to implement a the backend for a custom database, one that is not mysql, postgres or sqlite? Is it supported by this ORM and if so where to start from? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Realistically, this is very hard and a lot of work if the database is not already a variant of either MySQL or Postgres. |
Beta Was this translation helpful? Give feedback.
-
DuckDB has always been on my radar! but we haven't got any plan for it yet.
No, there isn't. SeaORM applies "enum based polymorphism", and enums are essentially closed ended and static. Custom backends implemented by third party have pitfalls in terms of feature coverage and update cycle. So I think the best way for the community is having us (you & I) to put everything together in the same repo and to be maintained holistically. |
Beta Was this translation helpful? Give feedback.
DuckDB has always been on my radar! but we haven't got any plan for it yet.
No, there isn't. SeaORM applies "enum based polymorphism", and enums are essentially closed ended and static. Custom backends implemented by third party have pitfalls in terms of feature coverage and update cycle. So I think the best way for the community is having us (you & I) to put everything together in the same repo and to be maintained holistically.