Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GuessConstraintInterfaceAndTable (0.33 sec)

  1. migrator/migrator.go

    }
    
    // GuessConstraintAndTable guess statement's constraint and it's table based on name
    //
    // Deprecated: use GuessConstraintInterfaceAndTable instead.
    func (m Migrator) GuessConstraintAndTable(stmt *gorm.Statement, name string) (*schema.Constraint, *schema.CheckConstraint, string) {
    	constraint, table := m.GuessConstraintInterfaceAndTable(stmt, name)
    	switch c := constraint.(type) {
    	case *schema.Constraint:
    		return c, nil, table
    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