Versions in this module Expand all Collapse all v0 v0.0.2 Oct 13, 2024 v0.0.1 Jun 9, 2024 Changes in this version + func IndexHintFromClauseBuilder(c clause.Clause, builder clause.Builder) + type Exprs []clause.Expression + func (exprs Exprs) Build(builder clause.Builder) + type Hints struct + Content string + Prefix string + Suffix string + func Comment(clause string, comment string) Hints + func CommentAfter(clause string, comment string) Hints + func CommentBefore(clause string, comment string) Hints + func New(content string) Hints + func (hints *Hints) Merge(h Hints) + func (hints Hints) Build(builder clause.Builder) + func (hints Hints) ModifyStatement(stmt *gorm.Statement) + type IndexHint struct + Keys []string + Type string + func ForceIndex(names ...string) IndexHint + func IgnoreIndex(names ...string) IndexHint + func UseIndex(names ...string) IndexHint + func (indexHint IndexHint) Build(builder clause.Builder) + func (indexHint IndexHint) ForGroupBy() IndexHint + func (indexHint IndexHint) ForJoin() IndexHint + func (indexHint IndexHint) ForOrderBy() IndexHint + func (indexHint IndexHint) ModifyStatement(stmt *gorm.Statement)