You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args.result[0] will retrieve the newly inserted record, including the id, which is auto incremented. However, createdAt is nowhere to be found in the object. How can this be so?
The text was updated successfully, but these errors were encountered:
I'm using mariadb v10.4.25 with
mysql2
drivers.I have a class with an
afterInsert
hook as so:args.result[0]
will retrieve the newly inserted record, including theid
, which is auto incremented. However,createdAt
is nowhere to be found in the object. How can this be so?The text was updated successfully, but these errors were encountered: