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
Hi !
var count int64 err := db.Model(User{}).Where("mobile = ?", mobile).Count(&count).Error fmt.Printf("Error: %v\n", err)
prints:
SQL is not valid, count(*)
and count has right value. I passed go test and results are the same. PostgreSQL 8.4.2, compiled by Visual C++ build 1400, 32-bit
The text was updated successfully, but these errors were encountered:
Thank you for your report, this has been fixed.
Sorry, something went wrong.
respect gorm:query_option in SubQuery() & QueryExpr() methods (go-gorm#9
466b344
)
No branches or pull requests
Hi !
prints:
and count has right value. I passed go test and results are the same. PostgreSQL 8.4.2, compiled by Visual C++ build 1400, 32-bit
The text was updated successfully, but these errors were encountered: