Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for ages (0.07 sec)

  1. tests/scan_test.go

    		t.Errorf("Should find expected results, got %+v", results)
    	}
    
    	var ages int
    	if err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("SUM(age)").Scan(&ages).Error; err != nil || ages != 30 {
    		t.Fatalf("failed to scan ages, got error %v, ages: %v", err, ages)
    	}
    
    	var name string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. finisher_api.go

    	}, tx.Error)
    	tx.Logger = currentLogger
    	return
    }
    
    // Pluck queries a single column from a model, returning in the slice dest. E.g.:
    //
    //	var ages []int64
    //	db.Model(&users).Pluck("age", &ages)
    func (db *DB) Pluck(column string, dest interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if tx.Statement.Model != nil {
    		if tx.Statement.Parse(tx.Statement.Model) == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    > **NOTE:** Do **NOT** run `gradle build` on the local development environment,
    > even if you have Gradle or Develocity build caching enabled for the project.
    > The Gradle Build Tool repository is massive, and it will take ages to build on
    > a local machine without necessary parallelization and caching.
    > The full test suites are executed on the CI instance for multiple configurations,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	var pages uint
    	if DB.Model(&SoftDeleteBook{}).Select("pages").Where("name = ?", book.Name).Scan(&pages).Error != nil || pages != book.Pages {
    		t.Errorf("Pages soft deleted record, expects: %v, got: %v", 0, pages)
    	}
    
    	if err := DB.Delete(&book).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. util/update_snapshot_docs.sh

    cd $HOME
    git clone -q -b gh-pages "https://x-access-token:${GITHUB_TOKEN}@github.com/google/guava.git" gh-pages > /dev/null
    cd gh-pages
    
    git config --global user.name "$GITHUB_ACTOR"
    git config --global user.email "$******@****.***"
    
    ./updaterelease.sh snapshot
    
    git push -fq origin gh-pages > /dev/null
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 16 16:48:28 UTC 2021
    - 439 bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CartesianList.java

      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CartesianList.java

      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. scripts/mkdocs_hooks.py

    def on_nav(
        nav: Navigation, *, config: MkDocsConfig, files: Files, **kwargs: Any
    ) -> Navigation:
        new_items = generate_renamed_section_items(nav.items, config=config)
        return Navigation(items=new_items, pages=nav.pages)
    
    
    def on_pre_page(page: Page, *, config: MkDocsConfig, files: Files) -> Page:
        return page
    
    
    def on_page_markdown(
        markdown: str, *, page: Page, config: MkDocsConfig, files: Files
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 21:20:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. internal/s3select/sql/jsondata/books.json

                "type": "Hardcover",
                "pages": 256
            },
            {
                "year": 1934,
                "publisher": "Dodd Mead and Company (New York)",
                "type": "Hardcover",
                "pages": 302
            },
            {
                "year": 2011,
                "publisher": "Harper Collins",
                "type": "Paperback",
                "pages": 265
            }
        ]
    }
    {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                this.aces = new ACE[numAces];
                for ( int i = 0; i < numAces; i++ ) {
                    this.aces[ i ] = new ACE();
                    bufferIndex += this.aces[ i ].decode(buffer, bufferIndex, len - bufferIndex);
                }
            }
            else {
                this.aces = null;
            }
    
            return bufferIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
Back to top