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
countSelect返回的data.count应该为int型 #1502
Comments
https://github.com/thinkjs/think-model/blob/master/src/model.js#L644 count 是使用 SQL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DESC
countSelect返回的data.count应该为int型,现在是string型
ENV
OS Platform:
windows 10
Node.js Version:
12.0
ThinkJS Version:
3.23
code
// your code here
const list = await model
.where(where)
.field('*')
.order('id DESC')
.page(page, pagesize)
.countSelect();
error message
more description
// your detail description
The text was updated successfully, but these errors were encountered: