cmdb

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeBool     = int(C.MDB_BOOL)
	TypeByte     = int(C.MDB_BYTE)
	TypeInt      = int(C.MDB_INT)
	TypeLongInt  = int(C.MDB_LONGINT)
	TypeMoney    = int(C.MDB_MONEY)
	TypeFloat    = int(C.MDB_FLOAT)
	TypeDouble   = int(C.MDB_DOUBLE)
	TypeDateTime = int(C.MDB_DATETIME)
	TypeBinary   = int(C.MDB_BINARY)
	TypeText     = int(C.MDB_TEXT)
	TypeOLE      = int(C.MDB_OLE)
	TypeMemo     = int(C.MDB_MEMO)
	TypeRepID    = int(C.MDB_REPID)
	TypeNumeric  = int(C.MDB_NUMERIC)
	TypeComplex  = int(C.MDB_COMPLEX)
)

Variables

This section is empty.

Functions

func ParseFloat

func ParseFloat(s string) (float64, bool)

func ParseInt

func ParseInt(s string) (int64, bool)

Types

type Column

type Column struct {
	Name         string
	DatabaseType string
	Type         int
	Size         int64
}

type Query

type Query struct {
	// contains filtered or unexported fields
}

func OpenQuery

func OpenQuery(path, query string) (*Query, error)

func (*Query) BinaryValue

func (q *Query) BinaryValue(i int) []byte

func (*Query) Close

func (q *Query) Close() error

func (*Query) ColumnInfo

func (q *Query) ColumnInfo() []Column

func (*Query) Columns

func (q *Query) Columns() []string

func (*Query) DateTimeValue

func (q *Query) DateTimeValue(i int) (time.Time, bool)

func (*Query) IsNull

func (q *Query) IsNull(i int) bool

func (*Query) Next

func (q *Query) Next() (bool, error)

func (*Query) Value

func (q *Query) Value(i int) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL