Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 246 for Commit (0.15 sec)

  1. tests/prepared_stmt_test.go

    	}
    
    	if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    	}
    
    	if err := tx.Commit().Error; err != nil {
    		t.Errorf("Failed to commit transaction, got error %v\n", err)
    	}
    
    	if result := db.Where("name=?", "zzjin").Delete(&User{}); result.Error != nil || result.RowsAffected != 1 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_py39.py

    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. docs_src/sql_databases/tutorial002_an_py39.py

        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

            params {
                text(
                    "gitUserEmail",
                    "",
                    label = "Git user.email Configuration",
                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
                )
                text(
                    "confirmationCode",
                    "",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 24 03:08:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. .teamcity/scripts/update_wrapper_and_create_pr.sh

        git add gradle && git add gradlew && git add gradlew.bat
        
        if git diff --cached --quiet; then
            echo "No changes to commit"
            exit 0
        fi
        
        BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)"
        git switch -c $BRANCH_NAME
        git commit --signoff --author="bot-gradle <******@****.***>" -m "Update Gradle wrapper to version $WRAPPER_VERSION"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 29 03:20:20 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. .github/DISCUSSION_TEMPLATE/questions.yml

      - type: checkboxes
        id: help
        attributes:
          label: Commit to Help
          description: |
            After submitting this, I commit to one of:
    
              * Read open questions until I find 2 where I can help someone and add a comment to help there.
              * I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs_src/sql_databases/tutorial001_py310.py

    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    4.  Do your best to have a [well-formed commit message][] for the change.
    5.  Pull requests typically do not need to modify the files under the `android`
        directory: We have a script that automatically mirrors changes from the main
        directories into the `android` directories.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 15 18:43:50 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. .github/workflows/upgrade-to-latest-wrapper.yml

                ./gradlew -v
                VERSION=$(./gradlew -v | grep "Gradle" | cut -d' ' -f2)
                git add .
                git commit -m "Update Gradle wrapper to $VERSION"
                git push --force origin devprod/upgrade-to-latest-wrapper
              else
                echo "No changes to commit"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/promotion/StartReleaseCycle.kt

            params {
                text(
                    "gitUserEmail",
                    "",
                    label = "Git user.email Configuration",
                    description = "Enter the git 'user.email' configuration to commit change under",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = true,
                )
                text(
                    "confirmationCode",
                    "",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Mar 20 06:13:56 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top