We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
通常用户在更新数据的时候通常不知道客户更新哪个字段的,所以未更新的字段也必须赋值,否则采用Update不指定字段则全部更新,如果平台用户多话数据库更新所有字段效率比较低。因此,orm能否增加两个更新功能: 1、updateIsNotEmpty当如果零值或空值则不更新; 2、updatePart(“phone”)当某个值即使有空值,在括号指定了也更新
The text was updated successfully, but these errors were encountered:
2、updatePart(“phone”)当某个值即使有空值,在括号指定了也更新,其它字段为空值不更新
Sorry, something went wrong.
你可以直接发 PR过来,:)
No branches or pull requests
通常用户在更新数据的时候通常不知道客户更新哪个字段的,所以未更新的字段也必须赋值,否则采用Update不指定字段则全部更新,如果平台用户多话数据库更新所有字段效率比较低。因此,orm能否增加两个更新功能:
1、updateIsNotEmpty当如果零值或空值则不更新;
2、updatePart(“phone”)当某个值即使有空值,在括号指定了也更新
The text was updated successfully, but these errors were encountered: