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

开启了事务的 MongoDB 操作,如果在执行之前目标集合不存在,则会报错。 #22

Open
cfdxkk opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@cfdxkk
Copy link
Member

cfdxkk commented Sep 23, 2024

开启了事务的 MongoDB 操作,如果在执行之前目标集合不存在,则会报错。
因为事务不会自动创建集合,所以在第一次执行时会报错。

@cfdxkk cfdxkk self-assigned this Sep 23, 2024
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

No branches or pull requests

1 participant