Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 624 for Clauses (0.06 sec)

  1. tests/create_test.go

    		Mobile: "on-conflict-user-mobile",
    	}
    	err = DB.Create(&u).Error
    	AssertEqual(t, err, nil)
    
    	u.Name = "on-conflict-user-name-2"
    	u.Email = "on-conflict-user-email-2"
    	u.Mobile = ""
    	err = DB.Clauses(clause.OnConflict{UpdateAll: true}).Create(&u).Error
    	AssertEqual(t, err, nil)
    
    	var u2 OnConflictUser
    	err = DB.Where("id = ?", u.ID).First(&u2).Error
    	AssertEqual(t, err, nil)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. tests/sql_builder_test.go

    	newDB := DB.Session(&gorm.Session{NewDB: true, DryRun: true}).Table("users")
    
    	newDB.Clauses(
    		clause.From{
    			Tables: []clause.Table{{Name: "users"}},
    			Joins: []clause.Join{
    				{
    					Table: clause.Table{Name: "companies", Raw: false},
    					ON: clause.Where{
    						Exprs: []clause.Expression{
    							clause.Eq{
    								Column: clause.Column{
    									Table: "users",
    									Name:  "company_id",
    								},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. clause/clause.go

    package clause
    
    // Interface clause interface
    type Interface interface {
    	Name() string
    	Build(Builder)
    	MergeClause(*Clause)
    }
    
    // ClauseBuilder clause builder, allows to customize how to build clause
    type ClauseBuilder func(Clause, Builder)
    
    type Writer interface {
    	WriteByte(byte) error
    	WriteString(string) (int, error)
    }
    
    // Builder builder interface
    type Builder interface {
    	Writer
    	WriteQuoted(field interface{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes como Dependências
    
    Antes de nos aprofundarmos no sistema de **Injeção de Dependência**, vamos melhorar o exemplo anterior.
    
    ## `dict` do exemplo anterior
    
    No exemplo anterior, nós retornávamos um `dict` da nossa dependência ("injetável"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.in.bat

    if NOT "%FESS_USE_GC_LOGGING%" == "" set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xlog:gc*,gc+age=trace,safepoint:file=%FESS_HOME%/logs/gc-%APP_NAME%.log:utctime,pid,tags:filecount=5,filesize=64m
    
    set FESS_CLASSPATH=%FESS_HOME%\lib\classes
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Des-foreground=yes
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dfess.home="%FESS_HOME%"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess.in.sh

    #!/bin/sh
    
    FESS_CLASSPATH=$FESS_HOME/lib/classes
    
    # JAVA_OPTS is not a built-in JVM mechanism but some people think it is so we
    # warn them that we are not observing the value of $JAVA_OPTS
    if [ ! -z "$JAVA_OPTS" ]; then
      echo -n "warning: ignoring JAVA_OPTS=$JAVA_OPTS; "
      echo "pass JVM parameters via FESS_JAVA_OPTS"
    fi
    
    if [ "x$FESS_MIN_MEM" = "x" ]; then
        FESS_MIN_MEM=256m
    fi
    if [ "x$FESS_MAX_MEM" = "x" ]; then
        FESS_MAX_MEM=2g
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    for equality.
    </p>
    
    <p>
    In a case or default clause, the last non-empty statement
    may be a (possibly <a href="#Labeled_statements">labeled</a>)
    <a href="#Fallthrough_statements">"fallthrough" statement</a> to
    indicate that control should flow from the end of this clause to
    the first statement of the next clause.
    Otherwise control flows to the end of the "switch" statement.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. docs/contribute/concurrency.md

    there's nothing available, we need to hold that thread until either the bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application.
    
    Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
Back to top