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

Function existsKey

strings.go:441–447  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

439 return redcon.SimpleInt(counter), nil
440}
441
442func existsKey(key string) (bool, error) {
443 n, err := ldb.Exists([]byte(key))
444 if err != nil {
445 return false, err
446 }
447 return n > 0, nil
448}
449
450func cmdDECRBY(m uhaha.Machine, args []string) (interface{}, error) {

Callers 1

cmdEXISTSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected