Skip to content

gen 无法自定义查询条件 #1401

@PudgeJ

Description

@PudgeJ

GORM Playground Link

gen中自定义只能定义query,另外定义语句还不能链式调用。

场景:比如使用了PGgroonga。 它的查询语法是: select * from products where products.search_vector &@ 'xxx' . 这种情况下如何实现呢?

go-gorm/playground#1

Description

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions