Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookIndex (0.07 sec)

  1. migrator/migrator.go

    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		if stmt.Schema == nil {
    			return errors.New("failed to get schema")
    		}
    		if idx := stmt.Schema.LookIndex(name); idx != nil {
    			opts := m.DB.Migrator().(BuildIndexOptionsInterface).BuildIndexOptions(idx.Fields, stmt)
    			values := []interface{}{clause.Column{Name: idx.Name}, m.CurrentTable(stmt), opts}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top