Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,517 for Person (0.08 sec)

  1. tests/scan_test.go

    func TestScanToEmbedded(t *testing.T) {
    	person1 := Person{Name: "person 1"}
    	person2 := Person{Name: "person 2"}
    	DB.Save(&person1).Save(&person2)
    
    	address1 := Address{Name: "address 1"}
    	address2 := Address{Name: "address 2"}
    	DB.Save(&address1).Save(&address2)
    
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)})
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. docs/de/docs/help-fastapi.md

    ### Das Problem reproduzieren
    
    In den meisten Fällen und bei den meisten Fragen ist etwas mit dem von der Person erstellten **eigenen Quellcode** los.
    
    In vielen Fällen wird nur ein Fragment des Codes gepostet, aber das reicht nicht aus, um **das Problem zu reproduzieren**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. docs/de/docs/python-types.md

    ////
    
    ### Klassen als Typen
    
    Sie können auch eine Klasse als Typ einer Variablen deklarieren.
    
    Nehmen wir an, Sie haben eine Klasse `Person`, mit einem Namen:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    Dann können Sie eine Variable vom Typ `Person` deklarieren:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    Und wiederum bekommen Sie die volle Editor-Unterstützung:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 18.9K bytes
    - Viewed (1)
  4. schema/relationship_test.go

    func TestMultipleMany2Many(t *testing.T) {
    	type Thing struct {
    		ID int
    	}
    
    	type Person struct {
    		ID       int
    		Likes    []Thing `gorm:"many2many:likes"`
    		Dislikes []Thing `gorm:"many2many:dislikes"`
    	}
    
    	checkStructRelation(t, &Person{},
    		Relation{
    			Name: "Likes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "likes", Table: "likes"},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    ////
    
    ### Classes as types { #classes-as-types }
    
    You can also declare a class as the type of a variable.
    
    Let's say you have a class `Person`, with a name:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    Then you can declare a variable to be of type `Person`:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    And then, again, you get all the editor support:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. docs/ru/docs/python-types.md

    называются **Generic-типами** или **Generics**.
    
    ### Классы как типы
    
    Вы также можете объявить класс как тип переменной.
    
    Допустим, у вас есть класс `Person` с полем `name`:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    
    Тогда вы можете объявить переменную типа `Person`:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    
    И снова вы получаете полную поддержку редактора:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
       * {@snippet :
       * Method factoryMethod = Person.class.getMethod("create");
       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. docs/es/docs/python-types.md

    ////
    
    ### Clases como tipos
    
    También puedes declarar una clase como el tipo de una variable.
    
    Digamos que tienes una clase `Person`, con un nombre:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    Luego puedes declarar una variable para que sea de tipo `Person`:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    Y luego, nuevamente, obtienes todo el soporte del editor:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  9. docs/vi/docs/python-types.md

    ////
    
    ### Lớp như kiểu dữ liệu
    
    Bạn cũng có thể khai báo một lớp như là kiểu dữ liệu của một biến.
    
    Hãy nói rằng bạn muốn có một lớp `Person` với một tên:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    
    Sau đó bạn có thể khai báo một biến có kiểu là `Person`:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    
    Và lại một lần nữa, bạn có được tất cả sự hỗ trợ từ trình soạn thảo:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. docs/fa/docs/python-types.md

    * `Optional`
    * ...و بقیه.
    
    ////
    
    ### کلاس‌ها به‌عنوان نوع
    
    می‌تونی یه کلاس رو هم به‌عنوان نوع یه متغیر تعریف کنی.
    
    فرض کن یه کلاس `Person` داری، با یه نام:
    
    {* ../../docs_src/python_types/tutorial010.py hl[1:3] *}
    
    بعد می‌تونی یه متغیر رو از نوع `Person` تعریف کنی:
    
    {* ../../docs_src/python_types/tutorial010.py hl[6] *}
    
    و بعد، دوباره، همه پشتیبانی ویرایشگر رو داری:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jul 21 12:20:57 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top