sumo icon indicating copy to clipboard operation
sumo copied to clipboard

add link-walking support

Open reiddraper opened this issue 13 years ago • 3 comments

We need a way to add links to an object, and to query them

; starts with a bucket/key
; and then a list of bucket/link-tags
; specs
(link-walk conn "bucket" "key"
  [("other-bucket" "tag1" :keep true)
   ("second-bucket" "tag2")])

reiddraper avatar Dec 31 '11 18:12 reiddraper

As with mapreduce I only wonder if the containing vector is necessary, otherwise looks good.

bretthoerner avatar Dec 31 '11 22:12 bretthoerner

Thinking of something like this in sumo.client/put:


{:content-type "application/json"
 :value {:foo "bar" :baz "quux"}
 :links [{:bucket "b" :key "k0" :tag "t"}
         {:bucket "b" :key "k1" :tag "t"}]}

jmshoffs0812 avatar Feb 16 '12 02:02 jmshoffs0812

Thinking of something like this in sumo.client/put:

+1

reiddraper avatar Feb 16 '12 18:02 reiddraper