- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 267 for DB (0.02 seconds)
-
.teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt
"-Porg.gradle.performance.branchName" to "%teamcity.build.branch%", "-Porg.gradle.performance.db.url" to "%performance.db.url%", "-Porg.gradle.performance.db.username" to "%performance.db.username%", "-Porg.gradle.performance.dependencyBuildIds" to dependencyBuildIds,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 07 10:42:35 GMT 2026 - 5.8K bytes - Click Count (0) -
tests/default_value_test.go
Created time.Time `gorm:"default:2000-01-02"` Enabled bool `gorm:"default:true"` } DB.Migrator().DropTable(&Harumph{}) if err := DB.AutoMigrate(&Harumph{}); err != nil { t.Fatalf("Failed to migrate with default value, got error: %v", err) } harumph := Harumph{Email: "******@****.***"} if err := DB.Create(&harumph).Error; err != nil { t.Fatalf("Failed to create data with default value, got error: %v", err)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Apr 08 03:29:55 GMT 2024 - 2.3K bytes - Click Count (0) -
docs_src/dependencies/tutorial007_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 99 bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt
) + os.javaInstallationLocations(arch) + listOf( "-Porg.gradle.performance.branchName" to "%teamcity.build.branch%", "-Porg.gradle.performance.db.url" to "%performance.db.url%", "-Porg.gradle.performance.db.username" to "%performance.db.username%", ).map { (key, value) -> os.escapeKeyValuePair(key, value) } const val INDIVIDUAL_PERFORAMCE_TEST_ARTIFACT_RULES = """ testing/*/build/test-results-*.zip => results
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 4K bytes - Click Count (0) -
tests/connection_test.go
"gorm.io/gorm" ) func TestWithSingleConnection(t *testing.T) { expectedName := "test" var actualName string setSQL, getSQL := getSetSQL(DB.Dialector.Name()) if len(setSQL) == 0 || len(getSQL) == 0 { return } err := DB.Connection(func(tx *gorm.DB) error { if err := tx.Exec(setSQL, expectedName).Error; err != nil { return err } if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 943 bytes - Click Count (0) -
.github/workflows/update-perf-test-buckets.yml
uses: gradle/actions/setup-gradle@v6 - name: Update performance-test-durations.json run: | ./gradlew performance:writePerformanceTimes -Porg.gradle.performance.db.url=${{ env.PERFORMANCE_DB_URL }} -Porg.gradle.performance.db.username=${{ env.PERFORMANCE_DB_USERNAME }} - name: Create Pull Request uses: peter-evans/create-pull-request@v8 with: commit-message: Update performance test durationsCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Mar 24 22:05:21 GMT 2026 - 1.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/sql-databases.md
注意:我們在主鍵欄位使用 `int | None`,這樣在 Python 程式碼中我們可以「在沒有 `id` 的情況下建立物件」(`id=None`),假設資料庫在儲存時會「自動產生」。SQLModel 瞭解資料庫會提供 `id`,並且在資料庫綱要中「將該欄位定義為非空的 `INTEGER`」。詳情請見 [SQLModel 文件:主鍵](https://sqlmodel.tiangolo.com/tutorial/create-db-and-table/#primary-key-id)。 * `Field(index=True)` 告訴 SQLModel 應為此欄位建立「SQL 索引」,以便在用此欄位過濾讀取資料時更快查詢。 SQLModel 會知道宣告為 `str` 的欄位在 SQL 中會是 `TEXT`(或 `VARCHAR`,依資料庫而定)。 ### 建立引擎 { #create-an-engine }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java
import java.util.Locale; import org.dbflute.jdbc.ClassificationMeta; import org.dbflute.optional.OptionalObject; import org.dbflute.optional.OptionalThing; import org.lastaflute.db.dbflute.classification.ListedClassificationProvider; import org.lastaflute.db.dbflute.exception.ProvidedClassificationNotFoundException; /** * The provider of listed classification. * * @author jflute */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/sql-databases.md
**注意:** 我们为主键字段使用 `int | None`,这样在 Python 代码中我们可以在没有 `id`(`id=None`)的情况下创建对象,并假定数据库在保存时会生成它。SQLModel 会理解数据库会提供 `id`,并在数据库模式中将该列定义为非空的 `INTEGER`。详见 [SQLModel 关于主键的文档](https://sqlmodel.tiangolo.com/tutorial/create-db-and-table/#primary-key-id)。 * `Field(index=True)` 会告诉 SQLModel 应该为此列创建一个 **SQL 索引**,这样在读取按此列过滤的数据时,程序能在数据库中进行更快的查找。 SQLModel 会知道声明为 `str` 的内容将是类型为 `TEXT`(或 `VARCHAR`,具体取决于数据库)的 SQL 列。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.4K bytes - Click Count (0) -
schema/callbacks_test.go
import ( "reflect" "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/schema" ) type UserWithCallback struct{} func (UserWithCallback) BeforeSave(*gorm.DB) error { return nil } func (UserWithCallback) AfterCreate(*gorm.DB) error { return nil } func TestCallback(t *testing.T) { user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 939 bytes - Click Count (0)