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

Add @async_unsafe to DatabaseWrapper methods as needed #252

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

timgraham
Copy link
Collaborator

This follows the pattern of Django's built-in backends.

As far as I know, no work is needed to support async ORM queries. The work for async query support didn't require any changes to the built-in database backends.

I tested async queries with this backend in a toy project and all seemed to work fine.

@timgraham timgraham merged commit eb26848 into mongodb:main Feb 11, 2025
13 checks passed
@timgraham timgraham deleted the async-unsafe branch February 11, 2025 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants