sdk/golang/Standard Library/GoDatabaseSqlDriver
Standard Library

GoDatabaseSqlDriver

Go stdlib package — database/sql/driver. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.IsScanValue()Neutral
#
Signature
IsScanValue(v any) bool

IsScanValue is equivalent to IsValue.

.IsValue()Neutral
#
Signature
IsValue(v any) bool

IsValue reports whether v is a valid Value parameter type.

.NotNull.ConvertValue()Neutral
#
Signature
NotNull.ConvertValue(v any) (Value, error)

NotNull.ConvertValue function.

.Null.ConvertValue()Neutral
#
Signature
Null.ConvertValue(v any) (Value, error)

Null.ConvertValue function.

.RowsAffected.LastInsertId()Neutral
#
Signature
RowsAffected.LastInsertId() (int64, error)

RowsAffected.LastInsertId function.

.RowsAffected.RowsAffected()Neutral
#
Signature
RowsAffected.RowsAffected() (int64, error)

RowsAffected.RowsAffected function.

.ColumnConverter()Neutral
#
Signature
type ColumnConverter ...

ColumnConverter may be optionally implemented by Stmt if the

.Conn()Neutral
#
Signature
type Conn ...

Conn is a connection to a database. It is not used concurrently

.ConnBeginTx()Neutral
#
Signature
type ConnBeginTx ...

ConnBeginTx enhances the Conn interface with context and TxOptions.

.ConnPrepareContext()Neutral
#
Signature
type ConnPrepareContext ...

ConnPrepareContext enhances the Conn interface with context.

Fully-Qualified Names

FQNField
database/sql/driverfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # database/sql/driver