简体   繁体   中英

Are Hasura triggers being invoked only if I alter through graphql endpoints?

I'm scoping a feature and I want to know if Hasura creates native Postgress triggers?

I've actually had another database connection in my app and I wonder if the triggers are being invoked if I alter tables through another library like Knex?

Thank you in advance

Hasura Event Triggers use native Postgres triggers underneath. Hence, you would be able to generate events via any client. See: https://github.com/hasura/graphql-engine/blob/master/event-triggers.md

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM