Skip to content
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

[question] Not support Mongoid now? #43

Closed
xfyuan opened this issue Mar 5, 2021 · 2 comments
Closed

[question] Not support Mongoid now? #43

xfyuan opened this issue Mar 5, 2021 · 2 comments
Assignees

Comments

@xfyuan
Copy link

xfyuan commented Mar 5, 2021

n_plus_one_control not support mongoid now, right? Is there any plan to support it in future?

@palkan
Copy link
Owner

palkan commented Mar 5, 2021

I'm not familiar with Mongoid.

Does it provides ActiveSupport Notifications events? If so, you can try setting NPlusOneControl.event = "query.mongoid" (or whatever) and see how this would work out.

We plan to adapterize the potential N+1 sources in the next major release; it would be great, if you help us with providing some insights on how Mongoid works.

@xfyuan
Copy link
Author

xfyuan commented Mar 5, 2021

got it

@xfyuan xfyuan closed this as completed Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants