Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for CurrentTable (0.07 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. 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)
  3. clause/from.go

    	if len(from.Tables) > 0 {
    		for idx, table := range from.Tables {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(table)
    		}
    	} else {
    		builder.WriteQuoted(currentTable)
    	}
    
    	for _, join := range from.Joins {
    		builder.WriteByte(' ')
    		join.Build(builder)
    	}
    }
    
    // MergeClause merge from clause
    func (from From) MergeClause(clause *Clause) {
    	clause.Expression = from
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jul 15 02:25:10 GMT 2020
    - 630 bytes
    - Click Count (0)
  4. clause/update.go

    func (update Update) Build(builder Builder) {
    	if update.Modifier != "" {
    		builder.WriteString(update.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	if update.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(update.Table)
    	}
    }
    
    // MergeClause merge update clause
    func (update Update) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Update); ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 09 09:07:00 GMT 2020
    - 737 bytes
    - Click Count (0)
  5. clause/insert.go

    	if insert.Modifier != "" {
    		builder.WriteString(insert.Modifier)
    		builder.WriteByte(' ')
    	}
    
    	builder.WriteString("INTO ")
    	if insert.Table.Name == "" {
    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(insert.Table)
    	}
    }
    
    // MergeClause merge insert clause
    func (insert Insert) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Insert); ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 09 09:07:00 GMT 2020
    - 767 bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. callbacks/query.go

    					clauseSelect.Columns[idx] = clause.Column{Table: db.Statement.Table, Name: dbName}
    				}
    			}
    
    			specifiedRelationsName := map[string]string{clause.CurrentTable: clause.CurrentTable}
    			for _, join := range db.Statement.Joins {
    				if db.Statement.Schema != nil {
    					var isRelations bool // is relations or raw sql
    					var relations []*schema.Relationship
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (3)
  9. finisher_api.go

    func (db *DB) First(dest interface{}, conds ...interface{}) (tx *DB) {
    	tx = db.Limit(1).Order(clause.OrderByColumn{
    		Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey},
    	})
    	if len(conds) > 0 {
    		if exprs := tx.Statement.BuildCondition(conds[0], conds[1:]...); len(exprs) > 0 {
    			tx.Statement.AddClause(clause.Where{Exprs: exprs})
    		}
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  10. 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)
Back to Top