[ 
https://issues.apache.org/jira/browse/TINKERPOP3-914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991930#comment-14991930
 ] 

stephen mallette commented on TINKERPOP3-914:
---------------------------------------------

I settled on allowing for multiple aliases to be configured per remote.  You 
can do:

{code}
:remote config alias x g
{code}

which will allow a variable "g" on the server to be referred to as "x" in a 
script. which means you can do:

{code}
:> x.V()
{code}

To do multiple aliases, you can just offer additional key/value pairs in the 
same config.  Also include a "show" and "reset" options to the {{config}} 
command. 

> DriverRemoteAcceptor in Gremlin Console supports aliases
> --------------------------------------------------------
>
>                 Key: TINKERPOP3-914
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-914
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.0.2-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>             Fix For: 3.1.0-incubating
>
>
> Not sure how this should work, but it seems that "aliases" are growing in 
> importance and perhaps even a pattern for usage.  As such, the Console and 
> it's {{:submit}} should respect it somehow.  Maybe a remote should get bound 
> to a single rebinding?



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

Reply via email to