Ok, it looks like there a way to do this, you must use the eval

select hostname, date().asLong(), $agent.lastCommunicationTime[0].asLong() 
, eval(' date().asLong() -  $agent.lastCommunicationTime[0].asLong()'),
    $agent.version as agentVersion, $agent.lastCommunicationTime as 
lastCommunicationTime
    from (select expand(in("MemberOf")) from #14:1 )  Let $agent = 
in("Manages") where @class = 'Asset' and (date() - 
$agent.lastCommunicationTime[0]) > 40000


On Thursday, September 17, 2015 at 2:28:00 PM UTC-5, alexander anguiano 
wrote:
>
> I sent the schema privately.
>
> On Monday, September 14, 2015 at 2:11:37 AM UTC-5, Giulia Brignoli wrote:
>>
>> Hi Alexander,
>>
>> can you send me your schema?
>>
>> Regards,
>> Giulia
>>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to