- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 649 for tables (0.08 seconds)
-
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) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.collect.SortedMapDifference; import com.google.common.collect.SortedMultiset; import com.google.common.collect.SortedSetMultimap; import com.google.common.collect.Table; import com.google.common.collect.Tables; import com.google.common.collect.TreeBasedTable; import com.google.common.collect.TreeMultimap; import com.google.common.io.ByteSink; import com.google.common.io.ByteSource;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.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 - 17.9K bytes - Click Count (0) -
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) -
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) -
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) -
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 typeCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
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) -
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) -
tests/update_test.go
DB.First(&result2, "code = ?", "save") AssertEqual(t, result2, lang) DB.Table("langs").Migrator().DropTable(&Language{}) DB.Table("langs").AutoMigrate(&Language{}) if err := DB.Table("langs").Save(&lang).Error; err != nil { t.Errorf("no error should happen when creating data, but got %v", err) } var result3 Language
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 30.4K bytes - Click Count (0)