⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 2 of about 2 for QueryRowContext (0.001 sec.)
Run Queries 11228
Overview Because the Go client implements database/sql , queries run through the standard methods: Exec and ExecContext send statements that do not return rows, such as INSERT or DDL, and report the number of affected rows. Query , QueryCon ... text , QueryRow , and QueryRowContext run statements that return rows and hand back a *sql.Rows (or a single *sql.Row ) to scan into Go values. The Context vari ... D age > ?`, "macgyver", "marc", 30, ) For named placeholders such as $name , wrap each argument with sql.Named : row := db.QueryRowContext(ctx, "SELECT $age >= 18 AND $name = 'Alice'", sql.Named("age", minAge), sql.Named("name", name), ) Warning Do not use prep ...
https://man.mtool.work/duckdb/2.0/clients/go/querying.html
Import Data 7485
Overview The Go client offers two ways to load data into DuckDB in bulk: the high-performance Appender for inserting rows generated in Go, and reading directly from data files such as Parquet, CSV, and JSON. Both are described below. For in ... rows before closing the appender. if err := a.Close(); err != nil { log.Fatal(err) } var ( name string age int ) row := db.QueryRowContext(context.Background(), `SELECT name, age FROM users`) if err := row.Scan(&name, &age); err != nil { log.Fatal(err) } log.Pr ...
https://man.mtool.work/duckdb/2.0/clients/go/data_import.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work