[orientdb] Re: Error in DB Console on query execution with LET

2017-01-25 Thread user . work111
Hi Borov,

which version are you using?

Thx.

Regards,
Michela

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Multiple sequences with same name

2017-01-25 Thread Maverick
 

Each time this code is executed, a new sequence is created with the same 
name, and so the method always returns 1 as next number. Why?


public long next( String seqName ) {

OSequenceLibrary sequenceLibrary = access.graph
.getRawGraph().getMetadata().getSequenceLibrary();

OSequence seq = sequenceLibrary.getSequence( seqName );

if( seq == null ) {

seq = sequenceLibrary.createSequence(seqName, SEQUENCE_TYPE.ORDERED, new 
OSequence.CreateParams().setStart(0L));

}

return seq.next();

}


I'm using graphdb v.2.2.13

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Re: How can I complete this query? arrays inside arrays

2017-01-25 Thread cycchao6535

>
> Hi , friend, I got a same problem as yours, I also want to find the item 
>> position in a array. How do you solve it ?
>>
>
Regards 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [orientdb] Re: Update with sub selec query not working

2017-01-25 Thread Borov
Hi Luigi,

I've created an issue #7123 
.

Thanks


On Tuesday, January 24, 2017 at 12:34:47 AM UTC-8, Luigi Dell'Aquila wrote:
>
> Hi,
>
> Yes please, if you could submit a bug (maybe with a simple script to 
> reproduce the problem) it would help a lot
>
> Thanks
>
> Luigi
>
>
> 2017-01-23 20:57 GMT+01:00 Borov :
>
>> Hi Luigi,
>>
>> I just downloaded 2.2.15 to test this fix, but it still fails. Did your 
>> fix made into 2.2.15 or shall I submit a bug?
>>
>> Thanks,
>>
>>
>> On Tuesday, January 3, 2017 at 1:23:18 PM UTC-8, Borov wrote:
>>>
>>> Thanks for fixing it Luigi. 
>>>
>>>
>>> On Monday, January 2, 2017 at 2:19:56 AM UTC-8, Luigi Dell'Aquila wrote:

 Hi guys,

 I just pushed a fix on branch 2.2.x 

 Thanks

 Luigi


 2017-01-02 10:19 GMT+01:00 Luigi Dell'Aquila :

> Hi guys,
>
> You're right, the old executor supported it but the parser does not 
> correctly parse it. I think I can easily support it, I'm checking it now. 
> I'll keep you posted
>
> Thanks
>
> Luigi
>
>
> 2016-12-31 17:48 GMT+01:00 hartmut bischoff :
>
>>
>> select ... where  gives an array, thus you simply have to address the 
>> first item of the resultset
>>
>> i.e.  (untested)
>> update #69:0 set meta.ownerId = $a.first  let $a= ( select id from 
>> Account where @rid = #25:1 )
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google 
>> Groups "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, 
>> send an email to orient-databa...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
 -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to orient-databa...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.