gorm.Expr() does not support subQuery

Created on 15 Dec 2020  路  1Comment  路  Source: go-gorm/gorm

GORM Playground Link

https://github.com/go-gorm/playground/pull/230

Description


When I use subQuery in Expr(), it throws me an error =====> sql: converting argument $2 type: unsupported type gorm.DB, a struct

with reproduction steps

Most helpful comment

Fixed, thank you for your report.

>All comments

Fixed, thank you for your report.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leebrooks0 picture leebrooks0  路  3Comments

satb picture satb  路  3Comments

rfyiamcool picture rfyiamcool  路  3Comments

Ganitzsh picture Ganitzsh  路  3Comments

koalacxr picture koalacxr  路  3Comments