Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for ages (0.22 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. 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)
  5. .github/workflows/deploy-docs.yml

              path: ./site/
              pattern: docs-site-*
              merge-multiple: true
              github-token: ${{ secrets.GITHUB_TOKEN }}
              run-id: ${{ github.event.workflow_run.id }}
          - name: Deploy to Cloudflare Pages
            # hashFiles returns an empty string if there are no files
            if: hashFiles('./site/*')
            id: deploy
            env:
              PROJECT_NAME: fastapitiangolo
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 09:37:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/en/docs/contributing.md

    ```
    
    ///
    
    Now you can go to <a href="http://127.0.0.1:8008" class="external-link" target="_blank">http://127.0.0.1:8008</a> and see your changes live.
    
    You will see that every language has all the pages. But some pages are not translated and have an info box at the top, about the missing translation.
    
    Now let's say that you want to add a translation for the section [Features](features.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. docs/fr/docs/contributing.md

    Si vous regardez le site web FastAPI docs, vous verrez que chaque langue a toutes les pages. Mais certaines pages ne sont pas traduites et sont accompagnées d'une notification concernant la traduction manquante.
    
    Mais si vous le gérez localement de cette manière, vous ne verrez que les pages déjà traduites.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. tests/query_test.go

    	if res.Name != "" {
    		t.Errorf("Expected res.Name to be empty, but got %s", res.Name)
    	}
    	if res.Age != user.Age {
    		t.Errorf("Expected res.Age to be %d, but got %d", user.Age, res.Age)
    	}
    }
    
    func TestPluckWithSelect(t *testing.T) {
    	users := []User{
    		{Name: "pluck_with_select_1", Age: 25},
    		{Name: "pluck_with_select_2", Age: 26},
    	}
    
    	DB.Create(&users)
    
    	var userAges []int
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  9. internal/kms/secret-key.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"context"
    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/hmac"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"strconv"
    	"strings"
    	"sync/atomic"
    
    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String ACCESS_CONTROL_EXPOSE_HEADERS = "Access-Control-Expose-Headers";
      /** The HTTP {@code Access-Control-Max-Age} header field name. */
      public static final String ACCESS_CONTROL_MAX_AGE = "Access-Control-Max-Age";
      /** The HTTP {@code Age} header field name. */
      public static final String AGE = "Age";
      /** The HTTP {@code Allow} header field name. */
      public static final String ALLOW = "Allow";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top