- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for QueryRow (1.32 sec)
-
doc/next/6-stdlib/99-minor/database/sql/64707.md
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 20:57:18 UTC 2024 - 160 bytes - Viewed (0) -
src/database/sql/sql_test.go
} err = db.QueryRow("SELECT|people|age,name|age=?", 2).Scan(&age, &name) if err != nil { t.Fatalf("age QueryRow+Scan: %v", err) } if name != "Bob" { t.Errorf("expected name Bob, got %q", name) } if age != 2 { t.Errorf("expected age 2, got %d", age) } err = db.QueryRow("SELECT|people|age,name|name=?", "Alice").Scan(&age, &name) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
src/database/sql/sql.go
} // QueryRow executes a query that is expected to return at most one row. // QueryRow always returns a non-nil value. Errors are deferred until // [Row]'s Scan method is called. // If the query selects no rows, the [*Row.Scan] will return [ErrNoRows]. // Otherwise, [*Row.Scan] scans the first selected row and discards // the rest. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
src/database/sql/driver/types.go
// Errors returned by the [Value] method are wrapped by the database/sql package. // This allows callers to use [errors.Is] for precise error handling after operations // like [database/sql.Query], [database/sql.Exec], or [database/sql.QueryRow]. // // Types implementing Valuer interface are able to convert // themselves to a driver [Value]. type Valuer interface { // Value returns a driver Value. // Value must not panic. Value() (Value, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 16:30:20 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*Stmt).QueryContext", Method, 8}, {"(*Stmt).QueryRow", Method, 0}, {"(*Stmt).QueryRowContext", Method, 8}, {"(*Tx).Commit", Method, 0}, {"(*Tx).Exec", Method, 0}, {"(*Tx).ExecContext", Method, 8}, {"(*Tx).Prepare", Method, 0}, {"(*Tx).PrepareContext", Method, 8}, {"(*Tx).Query", Method, 0}, {"(*Tx).QueryContext", Method, 8}, {"(*Tx).QueryRow", Method, 0}, {"(*Tx).QueryRowContext", Method, 8},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)