[orientdb] Re: Calling a custom function from the console?

2016-09-22 Thread William
Ah! Thanks! On Thursday, September 22, 2016 at 9:05:33 AM UTC-6, alessand...@gmail.com wrote: > > Hi, > in your function createSameDayOfYearEdges you must insert g.commit() and > it works also from console. > > Best regards, > Alessandro > -- --- You received this message because you are

[orientdb] Re: Calling a custom function from the console?

2016-09-22 Thread alessandrorota04
Hi, in your function createSameDayOfYearEdges you must insert g.commit() and it works also from console. Best regards, Alessandro -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from

[orientdb] Re: Calling a custom function from the console?

2016-09-21 Thread William
I tried running my scripts to create the graph, and then with the server running, I tried connecting via the console and can run the function. The console where I'm running the server prints out the messages showing that it created edges, but the edges aren't being actually added to my databas

[orientdb] Re: Calling a custom function from the console?

2016-09-21 Thread Ivan Mainetti
that's definitely the issue! JS functions are *server side functions *so they are interpreted by the running server Il giorno mercoledì 21 settembre 2016 23:19:08 UTC+2, William ha scritto: > > Hi Ivan, > > I'm running 2.2.10-community under OSX. > > I'm not running server when I try it... cou

[orientdb] Re: Calling a custom function from the console?

2016-09-21 Thread William
Hi Ivan, I'm running 2.2.10-community under OSX. I'm not running server when I try it... could that be part of the issue? -William On Wednesday, September 21, 2016 at 2:43:06 PM UTC-6, Ivan Mainetti wrote: > > Hi, > which version of Orientdb are you using?* I'm trying on 2.2.10 and not > g

Re: [orientdb] Re: Calling a custom function from the console?

2016-09-21 Thread William McLendon
I'm running on 2.2.10 Community. On Wed, Sep 21, 2016 at 2:43 PM, Ivan Mainetti wrote: > Hi, > which version of Orientdb are you using? > > > Il giorno mercoledì 21 settembre 2016 22:16:21 UTC+2, William ha scritto: >> >> Hi, >> >> I have a simple graph with date information on each node in whic

[orientdb] Re: Calling a custom function from the console?

2016-09-21 Thread Ivan Mainetti
Hi, which version of Orientdb are you using? Il giorno mercoledì 21 settembre 2016 22:16:21 UTC+2, William ha scritto: > > Hi, > > I have a simple graph with date information on each node in which the > vertices are: > > id,date > A,2014-01-02 > B,2015-01-02 > C,2016-01-02 >