-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
does fle work with insertMany or create #78
Comments
Hi, Yes this is a new feature and I will make a ticket for it. Would you like to help implement it? |
Hi, |
Hello! I tried to run encryptFieldsSync in 'pre' hook of 'insertMany', but the document is still the model, and not actual document that going to DB. Anyway, because of only 'encrypt' method is exposed, it's the only thing I can use - I would prefer to run the encryptFields method, that does all for me. Also, I have created a wrapper plugin where it allows user to only state the fields he want to encrypt in schema itself in the form:
|
I think I'm going to contribute a pre hook for insertMany.. |
Fixed via #94 |
Hello,
Looks like there isn’t support for insertMany or create mongoose queries ?
The text was updated successfully, but these errors were encountered: