Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 19 of 19 for DBName (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. callbacks/associations.go

    	if len(defaultUpdatingColumns) > 0 || stmt.DB.FullSaveAssociations {
    		onConflict.Columns = make([]clause.Column, 0, len(s.PrimaryFieldDBNames))
    		for _, dbName := range s.PrimaryFieldDBNames {
    			onConflict.Columns = append(onConflict.Columns, clause.Column{Name: dbName})
    		}
    
    		onConflict.UpdateAll = stmt.DB.FullSaveAssociations
    		if !onConflict.UpdateAll {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Feb 13 06:16:26 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. generics.go

    	}
    
    	for _, ref := range rel.References {
    		fkNil[ref.ForeignKey.DBName] = nil
    
    		if ref.OwnPrimaryKey && ref.PrimaryKey != nil {
    			ownerPKNames = append(ownerPKNames, ref.PrimaryKey.DBName)
    			primaryColumns = append(primaryColumns, clause.Column{Name: ref.PrimaryKey.DBName})
    			foreignColumns = append(foreignColumns, clause.Column{Name: ref.ForeignKey.DBName})
    		} else if !ref.OwnPrimaryKey && ref.PrimaryKey != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  3. internal/config/config_test.go

    		{
    			input: `enable=on format=namespace connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable" table=holicrayoli`,
    			keys:  []string{"enable", "connection_string", "comment", "format", "table"},
    			expectedFields: map[string]struct{}{
    				`enable=on`:        {},
    				`format=namespace`: {},
    				`connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable"`: {},
    				`table=holicrayoli`: {},
    			},
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. tests/tests_test.go

    )
    
    var DB *gorm.DB
    var (
    	mysqlDSN     = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	postgresDSN  = "user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai"
    	gaussdbDSN   = "user=gaussdb password=Gaussdb@123 dbname=gorm host=localhost port=9950 sslmode=disable TimeZone=Asia/Shanghai"
    	sqlserverDSN = "sqlserver://sa:LoremIpsum86@localhost:9930?database=master"
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. .github/workflows/tests.yml

            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=postgres GORM_DSN="user=gorm password=gorm dbname=gorm host=localhost port=9920 sslmode=disable TimeZone=Asia/Shanghai" ./tests/tests_all.sh
    
      sqlserver:
        strategy:
          matrix:
            go: ['1.24', '1.25']
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. schema/field.go

    				} else {
    					ef.StructField.Index = append([]int{-fieldStruct.Index[0] - 1}, ef.StructField.Index...)
    				}
    
    				if prefix, ok := field.TagSettings["EMBEDDEDPREFIX"]; ok && ef.DBName != "" {
    					ef.DBName = prefix + ef.DBName
    				}
    
    				if ef.PrimaryKey {
    					if !utils.CheckTruth(ef.TagSettings["PRIMARYKEY"], ef.TagSettings["PRIMARY_KEY"]) {
    						ef.PrimaryKey = false
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  7. utils/utils_test.go

    package utils
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"errors"
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsInvalidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. internal/event/target/postgresql.go

    			params = append(params, "username="+args.Username)
    		}
    		if args.Password != "" {
    			params = append(params, "password="+args.Password)
    		}
    		if args.Database != "" {
    			params = append(params, "dbname="+args.Database)
    		}
    	}
    	connStr := strings.Join(params, " ")
    
    	var queueStore store.Store[event.Event]
    	if args.QueueDir != "" {
    		queueDir := filepath.Join(args.QueueDir, storePrefix+"-postgresql-"+id)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  9. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_postgres[:name]  publish bucket notifications to Postgres databases
    
    ARGS:
    connection_string*   (string)             Postgres server connection-string e.g. "host=localhost port=5432 dbname=minio_events user=postgres password=password sslmode=disable"
    table*               (string)             DB table name to store/update events, table is auto-created
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
Back to Top