aftercreate
Aftercreate is a term used in several web development frameworks to denote a lifecycle hook that runs after a new record has been created in the database. The exact form and timing vary by framework, but the common idea is to execute additional logic immediately after a successful insert.
In Ruby on Rails, the conventional spelling is after_create, a model callback invoked after a new record
In Sequelize (Node.js), a similar mechanism is provided as a hook named afterCreate. It can be defined
In Django, there is no exact aftercreate hook by name. Developers typically use signals, specifically post_save
Common use cases for aftercreate include sending welcome emails, initializing related records, enqueueing background jobs, refreshing
See also: before_create, after_commit, after_update, post_save.