- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for SQL (0.01 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
tests/query_test.go
t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String()) } result = dryDB.Model(&User{}).Find(&User{}, user.ID) if regexp.MustCompile("SELECT \\* FROM .*users").MatchString(result.Statement.SQL.String()) { t.Fatalf("SQL should not include a * wildcard, but got %v", result.Statement.SQL.String()) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
tests/connpool_test.go
// return c.db.BeginTx(ctx, opts) // } // // You should use BeginTx returned gorm.Tx which could wrap *sql.Tx then you can record all queries. func (c *wrapperConnPool) BeginTx(ctx context.Context, opts *sql.TxOptions) (gorm.ConnPool, error) { tx, err := c.db.BeginTx(ctx, opts) if err != nil { return nil, err } return &wrapperTx{Tx: tx, conn: c}, nil }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0) -
generics.go
subdb.Statement.SQL.Reset() subdb.Statement.Vars = stmt.Vars if strings.Contains(sql, "@") { clause.NamedExpr{SQL: sql, Vars: vars}.Build(subdb.Statement) } else { clause.Expr{SQL: sql, Vars: vars}.Build(subdb.Statement) } } else { subdb.Statement.Vars = append(stmt.Vars, subdb.Statement.Vars...) subdb.callbacks.Query().Execute(subdb) } builder.WriteString(subdb.Statement.SQL.String())
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0)