MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / GetValueByName

Method GetValueByName

IceFireDB-SQLite/pkg/mysql/mysql/resultset.go:92–98  ·  view source on GitHub ↗
(row int, name string)

Source from the content-addressed store, hash-verified

90}
91
92func (r *Resultset) GetValueByName(row int, name string) (any, error) {
93 if column, err := r.NameIndex(name); err != nil {
94 return nil, errors.Trace(err)
95 } else {
96 return r.GetValue(row, column)
97 }
98}
99
100func (r *Resultset) IsNull(row, column int) (bool, error) {
101 d, err := r.GetValue(row, column)

Callers

nothing calls this directly

Calls 2

NameIndexMethod · 0.95
GetValueMethod · 0.95

Tested by

no test coverage detected