Hi Luigi, Thanks. Found out after posting the question that I was reading an old documentation. Switched to the most recent and it was explained there.
regards, Richard. On Monday, February 29, 2016 at 9:22:49 AM UTC, Luigi Dell'Aquila wrote: > 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] <javascript:>>: > >> 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] <javascript:>. >> 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.
