Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DB (0.02 sec)

  1. tests/generics_test.go

    			}
    		}
    	}
    
    	results, err = db.Preload("Pets", func(db gorm.PreloadBuilder) error {
    		db.Order("name").LimitPerRecord(5)
    		return nil
    	}).Preload("Friends", func(db gorm.PreloadBuilder) error {
    		db.Order("name")
    		return nil
    	}).Where("name in ?", names).Find(ctx)
    
    	for _, result := range results {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  2. generics.go

    	return c.with(func(db *DB) *DB {
    		return db.Not(query, args...)
    	})
    }
    
    func (c chainG[T]) Or(query interface{}, args ...interface{}) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Or(query, args...)
    	})
    }
    
    func (c chainG[T]) Limit(offset int) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Limit(offset)
    	})
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. .github/workflows/update-perf-test-buckets.yml

            uses: gradle/actions/setup-gradle@v4
          - name: Update performance-test-durations.json
            run: |
              ./gradlew performance:writePerformanceTimes -Porg.gradle.performance.db.url=${{ env.PERFORMANCE_DB_URL }} -Porg.gradle.performance.db.username=${{ env.PERFORMANCE_DB_USERNAME }}
          - name: Create Pull Request
            uses: peter-evans/create-pull-request@v7
            with:
              commit-message: Update performance test durations
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 04:26:32 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. statement.go

    		writer.WriteByte(')')
    	case clause.Expr:
    		v.Build(stmt)
    	case string:
    		stmt.DB.Dialector.QuoteTo(writer, v)
    	case []string:
    		writer.WriteByte('(')
    		for idx, d := range v {
    			if idx > 0 {
    				writer.WriteByte(',')
    			}
    			stmt.DB.Dialector.QuoteTo(writer, d)
    		}
    		writer.WriteByte(')')
    	default:
    		stmt.DB.Dialector.QuoteTo(writer, fmt.Sprint(field))
    	}
    }
    
    // Quote returns quoted value
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. .gitignore

    /src/main/webapp/jar/
    /dbflute_fess/extlib/*
    /dbflute_fess/log/*.log
    /dbflute_h2/log/*.log
    /dbflute_mysql/log/*.log
    /dbflute_oracle/log/*.log
    /src/main/webapp/WEB-INF/conf/*.properties
    /src/main/webapp/WEB-INF/db/*.lock.db
    /src/main/webapp/WEB-INF/logs/fess*
    /.settings/
    .project
    .classpath
    *.iml
    .idea
    .vscode
    .DS_Store
    /plugins/
    /modules/
    /tomcat.8080/
    dbflute_fess/output/doc/lastadoc-fess.html
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-updates.md

    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
        * This is comparable to using the model's `.model_dump()` method again, but it makes sure (and converts) the values to data types that can be converted to JSON, for example, `datetime` to `str`.
    * Save the data to your DB.
    * Return the updated model.
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[28:35] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. docs/en/data/external_links.yml

    log/booking-appointments-twilio-notion-fastapi title: Booking Appointments with Twilio, Notion, and FastAPI - author: Abhinav Tripathi - Microsoft Blogs link: https://devblogs.microsoft.com/cosmosdb/azure-cosmos-db-python-and-fastapi/ title: Write a Python data layer with Azure Cosmos DB and FastAPI - author: Donny Peeters author_link: https://github.com/Donnype link: https://bitestreams.com/blog/fastapi-sqlalchemy/ title: 10 Tips for adding SQLAlchemy to FastAPI - author: Jessica Temporal author_link:...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    		}
    	}
    
    	return decomBuckets
    }
    
    //msgp:ignore decomBucketInfo
    type decomBucketInfo struct {
    	Name   string
    	Prefix string
    }
    
    func (db decomBucketInfo) String() string {
    	return pathJoin(db.Name, db.Prefix)
    }
    
    func (p *poolMeta) QueueBuckets(idx int, buckets []decomBucketInfo) {
    	// add new queued buckets
    	for _, bucket := range buckets {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        Note over dep: Run code up to yield
        opt raise Exception
            dep -->> handler: Raise Exception
            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
                dep -->> dep: Can catch exception, raise a new HTTPException, raise other exception
            end
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    If you check the previous app, in the UI you can see that, up to now, it lets the client decide the `id` of the `Hero` to create. 😱
    
    We shouldn't let that happen, they could overwrite an `id` we already have assigned in the DB. Deciding the `id` should be done by the **backend** or the **database**, **not by the client**.
    
    Additionally, we create a `secret_name` for the hero, but so far, we are returning it everywhere, that's not very **secret**... 😅
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top