- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 54 for tx (0.01 seconds)
-
callbacks/helper.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Apr 14 12:32:57 GMT 2022 - 3.7K bytes - Click Count (0) -
generics.go
return assocDB.Updates(setMap).Error } case schema.BelongsTo: switch op.Type { case clause.OpDelete: return base.Transaction(func(tx *DB) error { assocDB.Statement.ConnPool = tx.Statement.ConnPool base.Statement.ConnPool = tx.Statement.ConnPool if err := assocDB.Where("? IN (?)", primaryColumns, base.Select(ownerFKNames)).Delete(assocModel).Error; err != nil { return err }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
.github/workflows/codeql-analysis.yml
if: ${{ matrix.language == 'java' }} - name: Disable checksum offloading # See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760 run: sudo ethtool -K eth0 tx off rx off # Install and setup JDK 17 - name: Setup JDK 17 uses: actions/setup-java@v5 with: distribution: temurin java-version: 17Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 22:12:03 GMT 2025 - 4K bytes - Click Count (0) -
docs/logging/README.md
"event": "", "trigger": "incoming", "api": { "name": "PutObject", "bucket": "testbucket", "object": "hosts", "status": "OK", "statusCode": 200, "rx": 401, "tx": 0, "timeToResponse": "13309747ns", "timeToResponseInNS": "13309747" }, "remotehost": "127.0.0.1", "requestID": "17CDC1F4D7E69123",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.5K bytes - Click Count (0) -
tests/query_test.go
results []User totalBatch int ) if result := DB.Table("users as u").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error { totalBatch += batch if tx.RowsAffected != 2 { t.Errorf("Incorrect affected rows, expects: 2, got %v", tx.RowsAffected) } if len(results) != 2 { t.Errorf("Incorrect users length, expects: 2, got %v", len(results)) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
tests/scanner_valuer_test.go
ExampleStructPtr: &ExampleStruct{"name", "value2"}, } var result ScannerValuerStruct tx := DB.Where(data).FirstOrCreate(&result) if tx.RowsAffected != 1 { t.Errorf("RowsAffected should be 1 after create some record") } if tx.Error != nil { t.Errorf("Should not raise any error, but got %v", tx.Error) } AssertObjEqual(t, result, data, "Name", "Gender", "Age")Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
cmd/perf-tests.go
if delta < 0 { rx = 0 errStr = "network disconnection issues detected" } globalNetPerfRX.Reset() return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr} } func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult { r := &netperfReader{eof: make(chan struct{})}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
tests/soft_delete_test.go
t.Errorf("Failed, result.DeletedAt: %v is not same as expected.DeletedAt: %v", result.DeletedAt, expected.DeletedAt) } } func TestDeletedAtOneOr(t *testing.T) { actualSQL := DB.ToSQL(func(tx *gorm.DB) *gorm.DB { return tx.Or("id = ?", 1).Find(&User{}) }) if !regexp.MustCompile(` WHERE id = 1 AND .users.\..deleted_at. IS NULL`).MatchString(actualSQL) { t.Fatalf("invalid sql generated, got %v", actualSQL) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
cmd/metrics.go
connStats := globalConnStats.toServerConnStats() // Network Sent/Received Bytes (internode) ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(interNodeNamespace, "tx", "bytes_total"), "Total number of bytes sent to the other peer nodes by current MinIO server instance", nil, nil), prometheus.CounterValue, float64(connStats.internodeOutputBytes), )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0) -
tests/associations_has_many_test.go
Contents []ItemContent `gorm:"foreignKey:ItemID"` } tx := DB.Session(&gorm.Session{}) tx.Migrator().DropTable(&ItemContent{}, &Item{}) tx.AutoMigrate(&ItemContent{}, &Item{}) item := Item{ Logo: "logo", Contents: []ItemContent{ {Name: "name", LanguageCode: "en"}, {Name: "ar name", LanguageCode: "ar"}, }, } if err := tx.Create(&item).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 16.3K bytes - Click Count (0)