mirror of
https://github.com/go-gitea/gitea
synced 2025-08-24 18:38:28 +00:00
Update github.com/lafriks/xormstore and tidy up mod.go (#8020)
This commit is contained in:
committed by
Antoine GIRARD
parent
dd3ba9bb6b
commit
cedb285e25
13
vendor/github.com/denisenkom/go-mssqldb/README.md
generated
vendored
13
vendor/github.com/denisenkom/go-mssqldb/README.md
generated
vendored
@@ -187,6 +187,19 @@ _, err := db.ExecContext(ctx, "theproc", &rs)
|
||||
log.Printf("status=%d", rs)
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
var rs mssql.ReturnStatus
|
||||
_, err := db.QueryContext(ctx, "theproc", &rs)
|
||||
for rows.Next() {
|
||||
err = rows.Scan(&val)
|
||||
}
|
||||
log.Printf("status=%d", rs)
|
||||
```
|
||||
|
||||
Limitation: ReturnStatus cannot be retrieved using `QueryRow`.
|
||||
|
||||
## Parameters
|
||||
|
||||
The `sqlserver` driver uses normal MS SQL Server syntax and expects parameters in
|
||||
|
Reference in New Issue
Block a user