mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
database/sql: fix wrong method name in description
Change-Id: Ie6a88b70d7c45c59995ee2f57fb28f9a3cbb404d Reviewed-on: https://go-review.googlesource.com/49470 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
235aff0a40
commit
e9b9dfe3f7
1 changed files with 1 additions and 1 deletions
|
|
@ -1813,7 +1813,7 @@ func (tx *Tx) Rollback() error {
|
|||
return tx.rollback(false)
|
||||
}
|
||||
|
||||
// Prepare creates a prepared statement for use within a transaction.
|
||||
// PrepareContext creates a prepared statement for use within a transaction.
|
||||
//
|
||||
// The returned statement operates within the transaction and will be closed
|
||||
// when the transaction has been committed or rolled back.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue