Hi David,
You could do:

UPDATE User SET tomorrow = eval( "sysdate().asLong() + 86400000" ) WHERE
email = '[email protected]'

Lvc@

ᐧ


On 21 August 2014 23:24, David J Lima <[email protected]> wrote:

>
> Is there a specific way to do date math when updating? I simply want to
> add 24 hours to the date .
>
> UPDATE User SET tomorrow = sysdate() + 1 WHERE email = '[email protected]'
>
> throws error, cant find a good example in the docs
>
> --
>
> ---
> 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.
>

-- 

--- 
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