Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aerospike.maps.returnType.KEY_VALUE is missing #625

Open
davidle-vidazoo opened this issue Jul 3, 2024 · 0 comments
Open

Aerospike.maps.returnType.KEY_VALUE is missing #625

davidle-vidazoo opened this issue Jul 3, 2024 · 0 comments

Comments

@davidle-vidazoo
Copy link

I am trying to get a single key for a map bin

// Test the context with client.operate()

  • ops = [
  • Aerospike.maps.getByKey('exampleBin', 'food', Aerospike.maps.returnType.KEY_VALUE).withContext(context)
    
  • ]
    I am getting the error that Aerospike.maps.returnType.KEY_VALUE is not defined
    Wehn I am skipping thre returned type value I am getting null
    Aerospike.maps.getByKey('exampleBin', 'food')
    When using the actual number 7 (tested with python aerospike.MAP_RETURN_VALUE)
    Aerospike.maps.getByKey('exampleBin', 'food', 7)
    I am getting the correct results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant