We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d6a5c commit 16a35f1Copy full SHA for 16a35f1
field/export_test.go
@@ -133,18 +133,10 @@ func TestExpr_Build(t *testing.T) {
133
Expr: field.ALL.Distinct().Count(),
134
Result: "COUNT(DISTINCT *)",
135
},
136
- {
137
- Expr: field.NewAsterisk("user").Count(),
138
- Result: "COUNT(`user`.*)",
139
- },
140
{
141
Expr: field.ALL.Count().As("num"),
142
Result: "COUNT(*) AS `num`",
143
144
145
- Expr: field.NewAsterisk("user").Distinct().Count(),
146
- Result: "COUNT(DISTINCT `user`.*)",
147
148
// ======================== integer ========================
149
150
Expr: field.NewUint("", "id"),
0 commit comments