Skip to content

Instantly share code, notes, and snippets.

@takabow
Created March 31, 2014 20:43
Show Gist options
  • Save takabow/9901789 to your computer and use it in GitHub Desktop.
Save takabow/9901789 to your computer and use it in GitHub Desktop.
riak-vba-client sample
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