martenframework / marten

The pragmatic web framework.
https://martenframework.com
MIT License
405 stars 23 forks source link

Ensure MariaDB can be used with the framework #151

Closed ellmetha closed 6 months ago

ellmetha commented 7 months ago

Description

Let's make sure that MariaDB can be used with Marten through the use of the mysql database backend.

Context

Marten has built-in support for MySQL but we never properly made sure that the mysql database backend was actually working as expected with MariaDB databases. Most of this backend should already work out of the box, but there may be minor differences between MySQL and MariaDB that will likely force us to implement some logic to handle both. For example, MariaDB supports querying inserted row columns, while MySQL does not.

To do