- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for tidb (0.02 sec)
-
tests/compose.yml
- "127.0.0.1:9930:1433" environment: - TZ=Asia/Shanghai - ACCEPT_EULA=Y - MSSQL_SA_PASSWORD=LoremIpsum86 tidb: image: 'pingcap/tidb:v6.5.0' ports: - "127.0.0.1:9940:4000"
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 798 bytes - Viewed (0) -
tests/tests_test.go
// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm]; // GO log.Println("testing sqlserver...") if dbDSN == "" { dbDSN = sqlserverDSN } db, err = gorm.Open(sqlserver.Open(dbDSN), cfg) case "tidb": log.Println("testing tidb...") if dbDSN == "" { dbDSN = tidbDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) default: log.Println("testing sqlite3...")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 3.3K bytes - Viewed (0) -
.github/workflows/tests.yml
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 6.6K bytes - Viewed (0) -
tests/tests_all.sh
#!/bin/bash -e dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb") if [[ $(pwd) == *"gorm/tests"* ]]; then cd .. fi if [ -d tests ] then cd tests go get -u -t ./... go mod download go mod tidy cd .. fi # SqlServer for Mac M1 if [[ -z $GITHUB_ACTION ]]; then if [ -d tests ] then cd tests if [[ $(uname -a) == *" arm64" ]]; then
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/helper_test.go
} }) } func tidbSkip(t *testing.T, reason string) { if isTiDB() { t.Skipf("This test case skipped, because of TiDB '%s'", reason) } } func isTiDB() bool { return os.Getenv("GORM_DIALECT") == "tidb" } func isMysql() bool { return os.Getenv("GORM_DIALECT") == "mysql" } func isSqlite() bool { return os.Getenv("GORM_DIALECT") == "sqlite" }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
tests/migrate_test.go
t.Fatalf("Should not find index for user's name after delete") } } func TestTiDBMigrateColumns(t *testing.T) { if !isTiDB() { t.Skip() } // TiDB can't change column constraint and has auto_random feature type ColumnStruct struct { ID int `gorm:"primarykey;default:auto_random()"` Name string Age int `gorm:"default:18;comment:my age"`
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
common/Makefile.common.mk
tidy-go: @find -name go.mod -execdir go mod tidy \; mod-download-go: @-GOFLAGS="-mod=readonly" find -name go.mod -execdir go mod download \; # go mod tidy is needed with Golang 1.16+ as go mod download affects go.sum # https://github.com/golang/go/issues/43994 @find -name go.mod -execdir go mod tidy \; format-go: tidy-go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/event/targetid.go
} // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
} // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.8K bytes - Viewed (0) -
common/scripts/tracing.sh
local start start="$(date -u +%s.%N)" # First, get a trace and span ID. We need to get one now so we can propagate it to the child # Get trace ID from TRACEPARENT, if present local tid tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)" tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}" # Always generate a new span ID local sid sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 28 15:25:47 UTC 2023 - 4.1K bytes - Viewed (0)