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

Turn off query tracking on a context level in MongoFramework #318

Open
aboah opened this issue Dec 10, 2022 · 1 comment
Open

Turn off query tracking on a context level in MongoFramework #318

aboah opened this issue Dec 10, 2022 · 1 comment
Labels
affects-querying Query-related issue enhancement Enhancements & features moderate-change Moderate changes required

Comments

@aboah
Copy link

aboah commented Dec 10, 2022

I want to find out if we can Turn off query tracking on a context level in MongoDbContext just like EntityFramework core, such as the below snippet:

services.AddDbContext(options =>
{
options.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking);
});

@Turnerj
Copy link
Member

Turnerj commented Dec 10, 2022

Hey @aboah , thanks for raising this issue. Currently that isn't supported but that is a good idea.

I can't give a firm timeline when I might add it but I do like it and think it would be a good addition.

@Turnerj Turnerj added enhancement Enhancements & features affects-querying Query-related issue moderate-change Moderate changes required labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-querying Query-related issue enhancement Enhancements & features moderate-change Moderate changes required
Projects
None yet
Development

No branches or pull requests

2 participants