aerospike-client-ruby icon indicating copy to clipboard operation
aerospike-client-ruby copied to clipboard

Writing BoolValue

Open terfender opened this issue 2 years ago • 0 comments

Hello there,

I cannot write a TrueClass or FalseClass bin. I found that BoolValue raises an exception when writing.

    def write(buffer, offset)
      raise Exception.new("Unreachable")
    end
    

May I know why? And what's the walk around in order to write a boolean? The DB is accessed by other services, so I would like to keep data type consistency.

Thanks

terfender avatar Sep 18 '21 17:09 terfender