MySQL support #161
Replies: 2 comments
-
Hey everyone, update here. I've recently added Django migration support to pgtrigger, which effectively solves number 4). The migration integration is still a bit of an experimental feature with a fallback to the old approach though. I'd still like to find a way to support the old approach Number 2) from this issue is no longer a concern. pgtrigger now uses django's built-in DB hooks, making it easier to support |
Beta Was this translation helpful? Give feedback.
-
For anyone that has been following MySQL support in pgtrigger - I'm still open to the idea of making this a general trigger library, but enabling compatibility of conditions and some of the statement-level/transactional features currently supported is going to be a lot of work. At the moment, I'm no longer personally planning to contribute a MySQL integration. There's still work to be done to make this the best Postgres library possible, and that's where my expertise lies. If, however, there are any great MySQL/Django people that want to work with me to make it compatible, do let it be known! |
Beta Was this translation helpful? Give feedback.
-
@tomage leaving a placeholder here for MySQL support since it is actively under development.
So far it looks like MySQL support is going to be close to feature compliance with Postgres, with the following primary notes:
pgtrigger.Q
andpgtrigger.F
objects work as well. It should still be possible to make them completely compatible, but the first release of MySQL support may simply not have built-in condition supportpgtrigger.ignore
, we may need to makepg-connection
compatible with MySQL so that we can hook into SQL generation and set temporary variables. Supportingpgtrigger.ignore
will almost certainly not be available in the first release of MySQL supportIt is likely that the support for MySQL and Postgres will be minimal enough that we can keep it in the same library. I am actively planning on renaming this to
django-dbtrigger
when we have close to full MySQL support.Please thumbs up this feature request if you want it. It helps me prioritize my time when contributing to open source projects.
Beta Was this translation helpful? Give feedback.
All reactions