-
Notifications
You must be signed in to change notification settings - Fork 154
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
To use trigger when calling stored procedure #44
Comments
@mkolt Can you please suggest me solution for this issue ? |
calling triggers are not supported for operations within script (from sproc, in particular). Since sproc already runs in JavaScript, just execute your pre-logic and then call getContext().getCollection().createDocument(...), adding support for triggers wouldn't add much functionality, just convenience. Does this make sense? |
@mkolt I have also tried while calling from c# end, passing via PreTriggerInclude. But its giving me always an exception "one of the specified inputs is invalid". Do you have any idea for this issue ? |
I have a scenario where I am calling stored procedure for bulkImport. So is there any option to call trigger from stored procedure while creating document ?
In trigger there is a pre logic that needs to be executed before document.
The text was updated successfully, but these errors were encountered: