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

Method GetFloatByName

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

Source from the content-addressed store, hash-verified

225}
226
227func (r *Resultset) GetFloatByName(row int, name string) (float64, error) {
228 if column, err := r.NameIndex(name); err != nil {
229 return 0, err
230 } else {
231 return r.GetFloat(row, column)
232 }
233}
234
235func (r *Resultset) GetString(row, column int) (string, error) {
236 d, err := r.GetValue(row, column)

Callers

nothing calls this directly

Calls 2

NameIndexMethod · 0.95
GetFloatMethod · 0.95

Tested by

no test coverage detected