We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
hello,
old issue but today I'm doing this:
<Schema Name>.post('findOneAndUpdate', async function () { const docToUpdate = await this.model.findOne(this.getQuery()); docToUpdate.__history = { event: 'updated', }; await docToUpdate.save(); });
I'll try to add this into the plugin
Sorry, something went wrong.
Essa solução suporta o uso de transações do Mongo?
any update here? can someone confirm if @joshrezende's suggestion works?
@kushalarora92 it works but isn't pretty i'm using in production
@saviocamacam vai depender da transacao que voce fizer, se tiver um hook para ela vai funcionar sim, mas teria que testar
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: