Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Cable (0.15 sec)

  1. 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 type
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. internal/event/target/postgresql_test.go

    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    	validTables := []string{"táblë", "table", "TableName", "\"Table name\"", "\"✅✅\"", "table$one", "\"táblë\""}
    	invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"}
    
    	for _, name := range validTables {
    		if err := validatePsqlTableName(name); err != nil {
    			t.Errorf("Should be valid: %s - %s", name, err)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. internal/event/target/postgresql.go

    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    	if p.Table == "" {
    		return fmt.Errorf("empty table name")
    	}
    	if err := validatePsqlTableName(p.Table); err != nil {
    		return err
    	}
    
    	if p.Format != "" {
    		f := strings.ToLower(p.Format)
    		if f != event.NamespaceFormat && f != event.AccessFormat {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. tests/query_test.go

    		*GetUser("find_in_batches_with_error", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var (
    		results    []User
    		totalBatch int
    	)
    
    	if result := DB.Table("wrong_table").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error {
    		totalBatch += batch
    		return nil
    	}); result.Error == nil || result.RowsAffected > 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  5. manifests/charts/base/crds/crd-all.gen.yaml

                                        consistent hashing to backend hosts.
                                      properties:
                                        tableSize:
                                          description: The table size for Maglev hashing.
                                          minimum: 0
                                          type: integer
                                      type: object
                                    minimumRingSize:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:47 GMT 2024
    - 606.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching).
     *
     * However, since symbol names providers may not be able to compute name sets per their contract, we may have to fall back to the
     * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider].
     *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. .github/workflows/multipart/migrate.sh

    ## we do not need to fail here, since we are going to test
    ## upgrading to master, healing and being able to recover
    ## the last version.
    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads ${failed_count_site1}"
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. cmd/warm-backend-gcs.go

    	// Refer to https://cloud.google.com/storage/docs/transcoding#decompressive_transcoding
    	// Need to set `Accept-Encoding` header to `gzip` when issuing a GetObject call, to be able
    	// to download the object in compressed state.
    	// Calling ReadCompressed with true accomplishes that.
    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).ReadCompressed(true)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p>The generated comparator is serializable if all the provided values are serializable.
       *
       * @param valuesInOrder the values that the returned comparator will be able to compare, in the
       *     order the comparator should induce
       * @return the comparator described above
       * @throws NullPointerException if any of the provided values is null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. callbacks/preload.go

    						return err
    					}
    				default:
    					return gorm.ErrInvalidData
    				}
    			} else {
    				tx := db.Table("").Session(&gorm.Session{Context: db.Statement.Context, SkipHooks: db.Statement.SkipHooks})
    				tx.Statement.ReflectValue = db.Statement.ReflectValue
    				tx.Statement.Unscoped = db.Statement.Unscoped
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top