Received from leo...@kensho.com on Wed, Oct 28, 2015 at 12:52:40PM EDT:
> Hi.
>
> We are using orientdb via pyorient library (so with binary protocol). I am
> able to run regular gremlin scripts and get a response. But I cannot figure
> out how to define custom steps to be used in my script. Is
Hi.
We are using orientdb via pyorient library (so with binary protocol). I am
able to run regular gremlin scripts and get a response. But I cannot figure
out how to define custom steps to be used in my script. Is there a good way
to do it for each call? What about storing them server-side?
Th
I'm not sure about what you are facing, but i do want to tell you that the
sql in 2.2 is more strict and may not work. I got errors in my logs. You
can get it to be less strict by adding this to your database
ALTER DATABASE custom strictSQL=false
On Tuesday, October 27, 2015 at 5:57:50 AM UTC
I just ran into this problem. In your response you say "reduce
occurrences". So, shouldn't we catch the exception and try again in a loop
and give up after so many attempts? I thought i've seen some code that did
that at one point on this.
On Tuesday, September 15, 2015 at 10:53:37 AM UTC-5,
Luigi,
Thank you for this help. I will try this.
Emin
On Wednesday, June 3, 2015 at 10:18:51 AM UTC-4, SavioL wrote:
>
> Hi Emin,
>
> this is JavaScript function that you were looking for:
>
> var gdb = orient.getGraphNoTx();
> var list = gdb.command( "sql", "select expand(in('link_to_school')) f
Hello,
I wrote a function with 2 input parameters that tries to run this query:
var db = orient.getGraph();
*b = db.command("sql","select expand(sp) from (select shortestPath(?, ? ,
'OUT') as sp)",[itemId, vertexId]);*
When running the function, I get this error:
Error on parsing script at pos
I have a simple query
select * from Questions fetchplan last_comment:0 order by createdAt desc
I am looking for the resultset to return the last_comment expanded along
with the result of the questions class.
I am using a Orientjs to interface with orient. It doesnt return the
expanded result
For anyone reading this, I found out that the key to using the javascript
functions in OrientDB is that the object you retrieve from either the graph
or document databases, are in fact the same object as you would get in the
Java API.
So the Java API can be used as reference for writing javascri