Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Less (0.12 sec)

  1. docs/em/docs/advanced/async-sql-databases.md

    โœ‹๏ธ โšซ๏ธ ๐Ÿšซ โœ”๏ธ `id` ๐Ÿ‘.
    
    ๐Ÿ‘ฅ โœ ๐Ÿ†• `dict`, ๐Ÿ‘ˆ ๐Ÿ”Œ ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ โšช๏ธโžก๏ธ `note.dict()` โฎ๏ธ:
    
    ```Python
    {**note.dict()}
    ```
    
    `**note.dict()` "unpacks" the key value pairs directly, so, `{**note.dict()}` would be, more or less, a copy of `note.dict()`.
    
    & โคด๏ธ, ๐Ÿ‘ฅ โ†” ๐Ÿ‘ˆ ๐Ÿ“ `dict`, โŽ โž•1๏ธโƒฃ ๐Ÿ”‘-๐Ÿ’ฒ ๐Ÿ‘ซ: `"id": last_record_id`:
    
    ```Python
    {**note.dict(), "id": last_record_id}
    ```
    
    , ๐Ÿ ๐Ÿ ๐Ÿ“จ ๐Ÿ”œ ๐Ÿ•ณ ๐Ÿ’–:
    
    ```Python
    {
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top