Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 537 for Tables (0.05 seconds)

  1. tests/test_tutorial/test_sql_databases/test_tutorial001.py

    from sqlalchemy import StaticPool
    from sqlmodel import SQLModel, create_engine
    from sqlmodel.main import default_registry
    
    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/sql-databases.md

    ### Criar Múltiplos Modelos { #create-multiple-models }
    
    No **SQLModel**, qualquer classe de modelo que tenha `table=True` é um **modelo de tabela**.
    
    E qualquer classe de modelo que não tenha `table=True` é um **modelo de dados**, esses são na verdade apenas modelos Pydantic (com alguns recursos extras pequenos). 🤓
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/AbstractTable.java

        return row(rowKey).put(columnKey, value);
      }
    
      @Override
      public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
        for (Table.Cell<? extends R, ? extends C, ? extends V> cell : table.cellSet()) {
          put(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
        }
      }
    
      @LazyInit private transient @Nullable Set<Cell<R, C, V>> cellSet;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. tests/migrate_test.go

    			if err := DB.Migrator().DropTable(table); err != nil {
    				t.Fatalf("failed to drop table, got error: %v", err)
    			}
    			if err := DB.Table(table).AutoMigrate(test.from); err != nil {
    				t.Fatalf("failed to migrate table, got error: %v", err)
    			}
    			if err := DB.Table(table).AutoMigrate(test.to); err != nil {
    				t.Fatalf("failed to migrate table, got error: %v", err)
    			}
    			test.checkFunc(t)
    		})
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/sql-databases.md

    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[25:30]  hl[25:27,30] *}
    
    ### Crear Tablas de Base de Datos al Arrancar { #create-database-tables-on-startup }
    
    Crearemos las tablas de la base de datos cuando arranque la aplicación.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[32:37] hl[35:37] *}
    
    Aquí creamos las tablas en un evento de inicio de la aplicación.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 17K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/sql-databases.md

    ### Создание нескольких моделей { #create-multiple-models }
    
    В **SQLModel** любая модель с `table=True` — это **модель-таблица**.
    
    Любая модель без `table=True` — это **модель данных**, по сути обычная модель Pydantic (с парой небольших дополнений). 🤓
    
    С SQLModel мы можем использовать **наследование**, чтобы **избежать дублирования** полей.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CompactHashing.java

        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
        }
      }
    
      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. migrator/migrator.go

    	stmt := &gorm.Statement{DB: m.DB}
    	if m.DB.Statement != nil {
    		stmt.Table = m.DB.Statement.Table
    		stmt.TableExpr = m.DB.Statement.TableExpr
    	}
    
    	if table, ok := value.(string); ok {
    		stmt.Table = table
    	} else if err := stmt.ParseWithSpecialTableName(value, stmt.Table); err != nil {
    		return err
    	}
    
    	return fc(stmt)
    }
    
    // DataTypeOf return field's db data type
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  9. gorm.go

    	// You can disable it by setting `SkipDefaultTransaction` to true
    	SkipDefaultTransaction    bool
    	DefaultTransactionTimeout time.Duration
    	DefaultContextTimeout     time.Duration
    
    	// NamingStrategy tables, columns naming strategy
    	NamingStrategy schema.Namer
    	// FullSaveAssociations full save associations
    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Aug 26 06:24:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. docs/en/mkdocs.yml

    - release-notes.md
    markdown_extensions:
      material.extensions.preview:
        targets:
          include:
          - '*'
      abbr: null
      attr_list: null
      footnotes: null
      md_in_html: null
      tables: null
      toc:
        permalink: true
      pymdownx.betterem: null
      pymdownx.caret: null
      pymdownx.highlight:
        line_spans: __span
      pymdownx.inlinehilite: null
      pymdownx.keys: null
      pymdownx.mark: null
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:44:55 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top