Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 252 for db (0.03 sec)

  1. soft_delete.go

    }
    
    func (sd SoftDeleteDeleteClause) MergeClause(*clause.Clause) {
    }
    
    func (sd SoftDeleteDeleteClause) ModifyStatement(stmt *Statement) {
    	if stmt.SQL.Len() == 0 && !stmt.Statement.Unscoped {
    		curTime := stmt.DB.NowFunc()
    		stmt.AddClause(clause.Set{{Column: clause.Column{Name: sd.Field.DBName}, Value: curTime}})
    		stmt.SetColumn(sd.Field.DBName, curTime, true)
    
    		if stmt.Schema != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (1)
  2. src/main/resources/fess_message_de.properties

    # - - - - - - - - - -/
    errors.login.failure=Login fehlgeschlagen.
    errors.app.illegal.transition=Unzulässige Wertänderung, bitte erneut versuchen.
    errors.app.db.already.deleted=Bearbeitungskonflikt, bitte erneut versuchen.
    errors.app.db.already.updated=Bearbeitungskonflikt, bitte erneut versuchen.
    errors.app.db.already.exists=Daten existieren bereits, bitte erneut versuchen.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 29 15:01:03 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  3. src/main/resources/fess_env_crawler.properties

    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    #                                                                                     ====
    
    
    # ========================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/main/resources/fess_env_thumbnail.properties

    mail.return.path = root@localhost
    
    
    # ========================================================================================
    #                                                                                      DB
    #                                                                                     ====
    
    
    # ========================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 12 13:38:57 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. api/go1.8.txt

    pkg database/sql, method (*DB) BeginTx(context.Context, *TxOptions) (*Tx, error)
    pkg database/sql, method (*DB) ExecContext(context.Context, string, ...interface{}) (Result, error)
    pkg database/sql, method (*DB) PingContext(context.Context) error
    pkg database/sql, method (*DB) PrepareContext(context.Context, string) (*Stmt, error)
    pkg database/sql, method (*DB) QueryContext(context.Context, string, ...interface{}) (*Rows, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  6. docs_src/sql_databases/tutorial001_an_py310.py

        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

    つまり、`yield`の後に`HTTPException`を発生させた場合、`HTTTPException`をキャッチしてHTTP 400のレスポンスを返すデフォルトの(あるいは任意のカスタムの)例外ハンドラは、その例外をキャッチすることができなくなります。
    
    これは、依存関係に設定されているもの(例えば、DBセッション)を、例えば、バックグラウンドタスクで使用できるようにするものです。
    
    バックグラウンドタスクはレスポンスが送信された*後*に実行されます。そのため、*すでに送信されている*レスポンスを変更する方法すらないので、`HTTPException`を発生させる方法はありません。
    
    しかし、バックグラウンドタスクがDBエラーを発生させた場合、少なくとも`yield`で依存関係のセッションをロールバックしたり、きれいに閉じたりすることができ、エラーをログに記録したり、リモートのトラッキングシステムに報告したりすることができます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/bsentity/BsUserInfo.java

        // [Referrers] *comment only
    
        // ===================================================================================
        //                                                                             DB Meta
        //                                                                             =======
        @Override
        public UserInfoDbm asDBMeta() {
            return UserInfoDbm.getInstance();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_py310.py

    class HeroCreate(HeroBase):
        secret_name: str
    
    
    class HeroUpdate(HeroBase):
        name: str | None = None
        age: int | None = None
        secret_name: str | None = None
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/sql-databases.md

    ```Python
    user = await db.query(User).first()
    ```
    
    ...相反,我们可以使用:
    
    ```Python
    user = db.query(User).first()
    ```
    
    然后我们应该声明*路径操作函数*和不带 的依赖关系`async def`,只需使用普通的`def`,如下:
    
    ```Python hl_lines="2"
    @app.get("/users/{user_id}", response_model=schemas.User)
    def read_user(user_id: int, db: Session = Depends(get_db)):
        db_user = crud.get_user(db, user_id=user_id)
        ...
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top