Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for CurrentTable (0.1 seconds)

  1. clause/clause.go

    			c.AfterExpression.Build(builder)
    		}
    	}
    }
    
    const (
    	PrimaryKey   string = "~~~py~~~" // primary key
    	CurrentTable string = "~~~ct~~~" // current table
    	Associations string = "~~~as~~~" // associations
    )
    
    var (
    	currentTable  = Table{Name: CurrentTable}
    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K 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. guava/src/com/google/common/collect/MapMakerInternalMap.java

            return;
          }
    
          while (nextSegmentIndex >= 0) {
            currentSegment = segments[nextSegmentIndex--];
            if (currentSegment.count != 0) {
              currentTable = currentSegment.table;
              nextTableIndex = currentTable.length() - 1;
              if (nextInTable()) {
                return;
              }
            }
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            return;
          }
    
          while (nextSegmentIndex >= 0) {
            currentSegment = segments[nextSegmentIndex--];
            if (currentSegment.count != 0) {
              currentTable = currentSegment.table;
              nextTableIndex = currentTable.length() - 1;
              if (nextInTable()) {
                return;
              }
            }
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

            return;
          }
    
          while (nextSegmentIndex >= 0) {
            currentSegment = segments[nextSegmentIndex--];
            if (currentSegment.count != 0) {
              currentTable = currentSegment.table;
              nextTableIndex = currentTable.length() - 1;
              if (nextInTable()) {
                return;
              }
            }
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/LocalCache.java

            return;
          }
    
          while (nextSegmentIndex >= 0) {
            currentSegment = segments[nextSegmentIndex--];
            if (currentSegment.count != 0) {
              currentTable = currentSegment.table;
              nextTableIndex = currentTable.length() - 1;
              if (nextInTable()) {
                return;
              }
            }
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  7. 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)
  8. 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