Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for person (0.17 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 Nov 03 09:35:10 UTC 2024
    - 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 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:
    
    ```Python hl_lines="1-3"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Dann können Sie eine Variable vom Typ `Person` deklarieren:
    
    ```Python hl_lines="6"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. docs/ru/docs/python-types.md

    ### Классы как типы
    
    Вы также можете объявить класс как тип переменной.
    
    Допустим, у вас есть класс `Person` с полем `name`:
    
    ```Python hl_lines="1-3"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Тогда вы можете объявить переменную типа `Person`:
    
    ```Python hl_lines="6"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    И снова вы получаете полную поддержку редактора:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    * ...and others.
    
    ////
    
    ### 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. 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:
    
    ```Python hl_lines="1-3"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Sau đó bạn có thể khai báo một biến có kiểu là `Person`:
    
    ```Python hl_lines="6"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    				{"ID", "Person", "PersonID", "likes", "", true},
    				{"ID", "Thing", "ThingID", "likes", "", false},
    			},
    		},
    		Relation{
    			Name: "Dislikes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "dislikes", Table: "dislikes"},
    			References: []Reference{
    				{"ID", "Person", "PersonID", "dislikes", "", true},
    				{"ID", "Thing", "ThingID", "dislikes", "", false},
    			},
    		},
    	)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. docs/pt/docs/python-types.md

    ### Classes como tipos
    
    Você também pode declarar uma classe como o tipo de uma variável.
    
    Digamos que você tenha uma classe `Person`, com um nome:
    
    ```Python hl_lines="1-3"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Então você pode declarar que uma variável é do tipo `Person`:
    
    ```Python hl_lines="6"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. docs/bn/docs/python-types.md

    ////
    
    ### ক্লাস হিসেবে টাইপস
    
    আপনি একটি ভেরিয়েবলের টাইপ হিসেবে একটি ক্লাস ঘোষণা করতে পারেন।
    
    ধরুন আপনার কাছে `Person` নামে একটি ক্লাস আছে, যার একটি নাম আছে:
    
    ```Python hl_lines="1-3"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    তারপর আপনি একটি ভেরিয়েবলকে `Person` টাইপের হিসেবে ঘোষণা করতে পারেন:
    
    ```Python hl_lines="6"
    {!../../docs_src/python_types/tutorial010.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
       * <pre>{@code
       * Method factoryMethod = Person.class.getMethod("create");
       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }</pre>
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top