Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for CurrentTable (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                if (elementName.equals("table")) {
                    if (currentTable != null) {
                        throw new UnsupportedOperationException("A table within a table is not supported.");
                    }
                    currentTable = document.createElement("table");
                    nodes.push(currentTable);
                    return true;
                }
                if (elementName.equals("tr")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  2. migrator/migrator.go

    		if err := stmt.Parse(oldName); err == nil {
    			oldTable = m.CurrentTable(stmt)
    		} else {
    			return err
    		}
    	}
    
    	if v, ok := newName.(string); ok {
    		newTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(newName); err == nil {
    			newTable = m.CurrentTable(stmt)
    		} else {
    			return err
    		}
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  3. callbacks/preload.go

    		if len(joinForeignValues) == 0 {
    			return nil
    		}
    
    		joinResults := rel.JoinTable.MakeSlice().Elem()
    		column, values := schema.ToQueryValues(clause.CurrentTable, joinForeignKeys, joinForeignValues)
    		if err := tx.Where(clause.IN{Column: column, Values: values}).Find(joinResults.Addr().Interface()).Error; err != nil {
    			return err
    		}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. statement.go

    		if raw {
    			writer.WriteString(str)
    		} else {
    			stmt.DB.Dialector.QuoteTo(writer, str)
    		}
    	}
    
    	switch v := field.(type) {
    	case clause.Table:
    		if v.Name == clause.CurrentTable {
    			if stmt.TableExpr != nil {
    				stmt.TableExpr.Build(stmt)
    			} else if stmt.Table != "" {
    				write(v.Raw, stmt.Table)
    			} else if stmt.AddError(stmt.Parse(stmt.Model)) == nil {
    				write(v.Raw, stmt.Table)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  5. tests/generics_test.go

    		t.Fatalf("Exec insert failed: %v", err)
    	}
    
    	name2 := "GenericsExec2"
    	if err := gorm.G[User](DB).Exec(ctx, "INSERT INTO ?(name) VALUES(?)", clause.Table{Name: clause.CurrentTable}, name2); err != nil {
    		t.Fatalf("Exec insert failed: %v", err)
    	}
    
    	u, err := gorm.G[User](DB).Table("users as u").Where("u.name = ?", name).First(ctx)
    	if err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  6. generics.go

    		}
    
    		q := joinBuilder{db: db.Session(&Session{NewDB: true, Initialized: true}).Table(jt.Table)}
    		if on != nil {
    			if err := on(&q, clause.Table{Name: jt.Table}, clause.Table{Name: clause.CurrentTable}); err != nil {
    				db.AddError(err)
    			}
    		}
    
    		j := join{
    			Name:     jt.Association,
    			Alias:    jt.Table,
    			Selects:  q.db.Statement.Selects,
    			Omits:    q.db.Statement.Omits,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
Back to Top