Hi Richard,

It's a matter of transport and language typing: when you send a command via
REST interface, all the parameters are sent as strings; on the other side,
Javascript does not allow you to define parameter types, so there is no way
to infer param types and do automatic conversion

Thanks

Luigi


2016-02-28 6:49 GMT+01:00 <[email protected]>:

> Just tested the sum function in studio (version 2.2 beta) and sum (1, 3)
> returns 13.
>
> The parameters are treated as string but in the sample [here](
> https://github.com/BeGoodTechnology/orientdb/wiki/Functions), they are
> numbers.
>
>
> Is this by design?
>
> --
>
> ---
> 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