You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/03/09 02:30:41 UTC

[jira] [Created] (S2GRAPH-59) Accept array of from and to on Edge requests

DOYUNG YOON created S2GRAPH-59:
----------------------------------

             Summary: Accept array of from and to on Edge requests
                 Key: S2GRAPH-59
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-59
             Project: S2Graph
          Issue Type: Improvement
            Reporter: DOYUNG YOON
            Assignee: DOYUNG YOON
            Priority: Trivial


There are some cases that user may want to insert/update/delete all adjacent edges from single from vertex. 

for example, current implementation require use to provide following json payload.
{noformat}
[
  {"timestamp": 10, "from": 1, "to": 10, "label": "test", "props": {}},
  {"timestamp": 10, "from": 1, "to": 11, "label": "test", "props": {}}
]
{noformat}

it would be helpful to provide below.
{noformat}
[
  {"timestamp": 10, "from": 1, "tos": [10, 11], "label": "test", "props": {}}
]
{noformat}

Of course there is limit on this. it can only be used when all fields are same except either `from` or `to`.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)