Skip to content

Does orm lookup syntax support the gdb.Model type? Now the query results of a statement can only be written in native sql #4225

Open
@zc24

Description

@zc24

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

Does orm lookup syntax support the gdb.Model type? Now the query results of a statement can only be written in native sql

example:
d.Ctx(ctx).As("a").InnerJoin(d.Ctx(ctx).Fields("min(id)").Group("brand"), "a.id = b.id")

Describe alternatives you've considered

example:
d.Ctx(ctx).As("a").InnerJoin(d.Ctx(ctx).Fields("min(id)").Group("brand"), "a.id = b.id")

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions