-
Notifications
You must be signed in to change notification settings - Fork 6
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
Possibility of using implicit version of OpenJson? #38
Comments
Hey @IanKemp , thanks for the feedback. The In the previous link you can see how EF Regarding the If you have evidence or some metrics that can help demonstrate the issue you are having, please share them here. You can also try using an older version of this library before I introduced the fix for ordering guarantees. If this library gives you some value, please consider ⭐ the repo. It helps.🙂 |
Oh btw. If possible for your use case, you can also try with a |
Thanks @yv989c for both this package and your response. I've given you a ⭐ as requested, it really is the least that I can do. |
Currently the SQL generated by this library invokes
OpenJson
with explicit mappings, for example:From my testing the above is slower than using the implicit mappings version:
because the former query incurs
Sort
andTop
operations, versus only aCompute Scalar
for the former. The latter also sends a smaller amount of data to the server in the JSON-serialised parameter.What is the reason for using the explicit mappings version instead of implicit? And would you be willing to add functionality to control whether implicit or explicit is used?
The text was updated successfully, but these errors were encountered: