Skip to content

希望在Update和Replace时添加Upsert的选项 #46

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

Open
tonysmz opened this issue Jul 7, 2017 · 0 comments
Open

希望在Update和Replace时添加Upsert的选项 #46

tonysmz opened this issue Jul 7, 2017 · 0 comments

Comments

@tonysmz
Copy link

tonysmz commented Jul 7, 2017

增加Upsert选项后会方便很多,一来代码要减少不少,二来性能上也会大大提高,因为不需要先判断记录是否存在,再决定是用update/replace还是save

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