Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 872 for Clauses (0.05 seconds)

  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)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  2. clause/clause.go

    // Package clause provides the clause interface and common clause implementations for GORM.
    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)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    # Clases como dependencias { #classes-as-dependencies }
    
    Antes de profundizar en el sistema de **Inyección de Dependencias**, vamos a mejorar el ejemplo anterior.
    
    ## Un `dict` del ejemplo anterior { #a-dict-from-the-previous-example }
    
    En el ejemplo anterior, estábamos devolviendo un `dict` de nuestra dependencia ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  4. doc/go_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.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  5. docs/uk/docs/tutorial/dependencies/classes-as-dependencies.md

    # Класи як залежності { #classes-as-dependencies }
    
    Перш ніж заглибитися у систему **впровадження залежностей**, оновімо попередній приклад.
    
    ## `dict` з попереднього прикладу { #a-dict-from-the-previous-example }
    
    У попередньому прикладі ми повертали `dict` із нашого «залежного»:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Але тоді ми отримуємо `dict` у параметрі `commons` функції операції шляху.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies { #classes-as-dependencies }
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example { #a-dict-from-the-previous-example }
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes como Dependências { #classes-as-dependencies }
    
    Antes de nos aprofundarmos no sistema de **Injeção de Dependência**, vamos melhorar o exemplo anterior.
    
    ## `dict` do exemplo anterior { #a-dict-from-the-previous-example }
    
    No exemplo anterior, nós retornávamos um `dict` da nossa dependência ("injetável"):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    # Классы как зависимости { #classes-as-dependencies }
    
    Прежде чем углубиться в систему **Внедрения Зависимостей**, давайте обновим предыдущий пример.
    
    ## `dict` из предыдущего примера { #a-dict-from-the-previous-example }
    
    В предыдущем примере мы возвращали `dict` из нашей зависимости («dependable»):
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    # Utiliser des classes comme dépendances { #classes-as-dependencies }
    
    Avant d'aller plus loin dans le système d'**Injection de dépendances**, mettons à niveau l'exemple précédent.
    
    ## Un `dict` de l'exemple précédent { #a-dict-from-the-previous-example }
    
    Dans l'exemple précédent, nous renvoyions un `dict` depuis notre dépendance (« dependable ») :
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    # Klassen als Abhängigkeiten { #classes-as-dependencies }
    
    Bevor wir tiefer in das **Dependency Injection** System eintauchen, lassen Sie uns das vorherige Beispiel verbessern.
    
    ## Ein `dict` aus dem vorherigen Beispiel { #a-dict-from-the-previous-example }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top