Tables look great. Just right now googled them.

Will they return something JSON encoded like [ row, row ],
where row is [ hash, hash ]?


-m.

On 06/15/2011 11:13 PM, Peter Neubauer wrote:
> Great!
> 
> I plan to upgrade to Gremlin 1.1 tomorrow if the source is with me,
> and add support even for the table() return construct, so you can do
> the full shebang there :)
> 
> Cheers,
> 
> /peter neubauer
> 
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
> 
> http://www.neo4j.org               - Your high performance graph database.
> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> 
> 
> 
> On Wed, Jun 15, 2011 at 10:10 PM, Marcelo Barbudas <[email protected]> wrote:
>> I was doing something wrong on my end. I could see the resulting map but
>> with different values in the web console from the rest plugin. It turns
>> out there was a lingering variable in the web console that I forgot to
>> reset and now I am getting the same values.
>>
>> Thanks Peter.
>>
>>
>> -m.
>>
>> On 06/15/2011 11:03 PM, Peter Neubauer wrote:
>>> Well,
>>> you get as the result from your expression whatever the last statement
>>> is, since from a script, there is only one return construct. You could
>>> try putting things into a map or so ( both the count and the list of
>>> nodes) and return that?
>>>
>>> Alternatively, we could send back all bound variables in the return,
>>> but that is very cryptic in its side effects and IMHO not a clean way
>>> to do this. WDYT?
>>>
>>> Cheers,
>>>
>>> /peter neubauer
>>>
>>> GTalk:      neubauer.peter
>>> Skype       peter.neubauer
>>> Phone       +46 704 106975
>>> LinkedIn   http://www.linkedin.com/in/neubauer
>>> Twitter      http://twitter.com/peterneubauer
>>>
>>> http://www.neo4j.org               - Your high performance graph database.
>>> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
>>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>>
>>>
>>>
>>> On Wed, Jun 15, 2011 at 9:51 PM, Marcelo Barbudas <[email protected]> wrote:
>>>> Hey Peter,
>>>>
>>>> I think I understand.
>>>>
>>>> So that means I can get a sort listed of nodes (the contents of m keys),
>>>> but not the actual number on which the sorting was based (m values)?
>>>>
>>>> -m.
>>>>
>>>> On 06/15/2011 10:46 PM, Peter Neubauer wrote:
>>>>> Marcelo,
>>>>> the Gremlin plugin is transforming the results from a query into Neo4j
>>>>> REST conform structures, while the console is a pure command line
>>>>> interpreter, outputting strings that are not consumable by clients.
>>>>>
>>>>> Does that make sense?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> /peter neubauer
>>>>>
>>>>> GTalk:      neubauer.peter
>>>>> Skype       peter.neubauer
>>>>> Phone       +46 704 106975
>>>>> LinkedIn   http://www.linkedin.com/in/neubauer
>>>>> Twitter      http://twitter.com/peterneubauer
>>>>>
>>>>> http://www.neo4j.org               - Your high performance graph database.
>>>>> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
>>>>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jun 15, 2011 at 9:28 PM, Marcelo Barbudas <[email protected]> 
>>>>> wrote:
>>>>>>>
>>>>>>> n.outE.inV.inE.outV.groupCount(m) >> -1;m.sort{a,b -> b.value <=> 
>>>>>>> a.value}
>>>>>>
>>>>>> Yep, this versions runs and returns.
>>>>>>
>>>>>> However the returned values from the web interface are different from
>>>>>> the ones via the gremlin plugin.
>>>>>>
>>>>>> -m.
>>>>>> _______________________________________________
>>>>>> Neo4j mailing list
>>>>>> [email protected]
>>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>>
>>>>> _______________________________________________
>>>>> Neo4j mailing list
>>>>> [email protected]
>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>
>>>> _______________________________________________
>>>> Neo4j mailing list
>>>> [email protected]
>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>
>>> _______________________________________________
>>> Neo4j mailing list
>>> [email protected]
>>> https://lists.neo4j.org/mailman/listinfo/user
>>
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to