Skip to content

Commit

Permalink
Parse nil keys properly in query operations
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Nov 27, 2024
1 parent d66939d commit 085b911
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions value.go
Original file line number Diff line number Diff line change
Expand Up @@ -1275,6 +1275,9 @@ func bytesToKeyValue(pType int, buf []byte, offset int, length int) (Value, Erro
}
return ListValue(v), nil

case ParticleType.NULL:
return NewNullValue(), nil

default:
return nil, newError(types.PARSE_ERROR, fmt.Sprintf("ParticleType %d not recognized. Please file a github issue.", pType))
}
Expand Down

0 comments on commit 085b911

Please sign in to comment.