Skip to content

Count fails when using select within scopes #7407

Open
@mrf345

Description

@mrf345

GORM Playground Link

go-gorm/playground#796

Description

When using select within a scope, the Count function fails, with error:

sql: expected 12 destination arguments in Scan, not 1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions