Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for SQL (0.01 sec)

  1. logger/sql.go

    		for _, v := range []byte(sql) {
    			if v == '?' {
    				if len(vars) > idx {
    					newSQL.WriteString(vars[idx])
    					idx++
    					continue
    				}
    			}
    			newSQL.WriteByte(v)
    		}
    
    		sql = newSQL.String()
    	} else {
    		sql = numericPlaceholder.ReplaceAllString(sql, "$$$1$$")
    
    		sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string {
    			num := v[1 : len(v)-1]
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/sql-databases.md

    /// tip | Dica
    
    Vocรช pode usar qualquer outra biblioteca de banco de dados SQL ou NoSQL que quiser (em alguns casos chamadas de <abbr title="Object Relational Mapper, um termo sofisticado para uma biblioteca onde algumas classes representam tabelas SQL e instรขncias representam linhas nessas tabelas">"ORMs"</abbr>), o FastAPI nรฃo obriga vocรช a usar nada. ๐Ÿ˜Ž
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/sql-databases.md

    * `table=True`๋Š” SQLModel์— ์ด ๋ชจ๋ธ์ด *ํ…Œ์ด๋ธ” ๋ชจ๋ธ*์ด๋ฉฐ, ๋‹จ์ˆœํ•œ ๋ฐ์ดํ„ฐ ๋ชจ๋ธ์ด ์•„๋‹ˆ๋ผ SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ **ํ…Œ์ด๋ธ”**์„ ๋‚˜ํƒ€๋‚ธ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ๋ ค์ค๋‹ˆ๋‹ค. (๋‹ค๋ฅธ ์ผ๋ฐ˜์ ์ธ Pydantic ํด๋ž˜์Šค์ฒ˜๋Ÿผ) ๋‹จ์ˆœํ•œ *๋ฐ์ดํ„ฐ ๋ชจ๋ธ*์ด ์•„๋‹™๋‹ˆ๋‹ค.
    
    * `Field(primary_key=True)`๋Š” SQLModel์— `id`๊ฐ€ SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ **๊ธฐ๋ณธ ํ‚ค**์ž„์„ ์•Œ๋ ค์ค๋‹ˆ๋‹ค (SQL ๊ธฐ๋ณธ ํ‚ค์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ SQLModel ๋ฌธ์„œ๋ฅผ ์ฐธ๊ณ ํ•˜์„ธ์š”).
    
        `int | None` ์œ ํ˜•์œผ๋กœ ์„ค์ •ํ•˜๋ฉด, SQLModel์€ ํ•ด๋‹น ์—ด์ด SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ `INTEGER` ์œ ํ˜•์ด๋ฉฐ `NULLABLE` ๊ฐ’์ด์–ด์•ผ ํ•œ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 24 16:14:29 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/sql-databases.md

    /// tip | Consejo
    
    Puedes usar cualquier otro paquete de bases de datos SQL o NoSQL que quieras (en algunos casos llamadas <abbr title="Object Relational Mapper, un tรฉrmino elegante para un paquete donde algunas clases representan tablas SQL y las instances representan filas en esas tablas">"ORMs"</abbr>), FastAPI no te obliga a usar nada. ๐Ÿ˜Ž
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/sql-databases.md

    /// tip | ะŸะพะดัะบะฐะทะบะฐ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:20:20 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    * `Field(primary_key=True)` tells SQLModel that the `id` is the **primary key** in the SQL database (you can learn more about SQL primary keys in the SQLModel docs).
    
        By having the type as `int | None`, SQLModel will know that this column should be an `INTEGER` in the SQL database and that it should be `NULLABLE`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. dbflute_fess/playsql/replace-schema.sql

    jflute <******@****.***> 1437804256 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 449 bytes
    - Viewed (0)
  8. dbflute_fess/playsql/take-finally.sql

    Shinsuke Sugaya <******@****.***> 1436049991 +0900
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1 bytes
    - Viewed (0)
  9. tests/sql_builder_test.go

    	sql = dryRunDB.Or("a = ? or b = ?", "a", "b").Unscoped().Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`WHERE a = .+ or b = .+$`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = dryRunDB.Not("a = ? or b = ?", "a", "b").Unscoped().Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`WHERE NOT \(a = .+ or b = .+\)$`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top