Documentation
¶
Overview ¶
Package godrv implements a Go Oracle driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewVar ¶
NewVar calls NewVar on the underlying *oracle.Cursor. This allows out binds, and if value is a pointer, then GetValue is not needed.
func SetAutoCommit ¶
func SetAutoCommit(b bool)
SetAutoCommit sets auto commit mode for future connections true is open autocommit, default false
Types ¶
type ColDesc ¶
type ColDesc struct {
// Name is the name of the column
Name string
// TypeName is the name of the type of the column
TypeName string
// DisplaySize is the display (char/rune) size
DisplaySize int
// InternalSize is the byte size
InternalSize int
// Precision is the number of all digits this number-like column can hold
Precision int
// Scale is the number of digits after the point
Scale int
// Nullable is true if the column can be null
Nullable bool
}
ColDesc is a column's description
type ColumnDescriber ¶
type ColumnDescriber interface {
// DescribeColumn returns the column description
DescribeColumns() []ColDesc
}
ColumnDescriber interface allows the column's description
Click to show internal directories.
Click to hide internal directories.