Created
March 31, 2014 20:43
-
-
Save takabow/9901789 to your computer and use it in GitHub Desktop.
riak-vba-client sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim node As RiakNode | |
Set node = New RiakNode | |
node.RemoteAddress = "127.0.0.1" | |
node.Port = 10018 | |
Dim response As RiakResponse | |
Set response = node.Fetch("bucket1", "key1") | |
If response.isSuccess Then | |
Dim obj As RiakObject | |
For Each obj In response.Objects | |
MsgBox obj.value | |
Next | |
Else | |
MsgBox "Fetch operation failed - " & response.Reason | |
End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment