Hi, Luigi:

Thanks a lot for your respose; this is most helpful, and I really 
appreciate it.

Have a great day.

Diaa

On Wednesday, April 22, 2015 at 2:39:52 AM UTC-4, Luigi Dell'Aquila wrote:
>
> Hi Diaa,
>
> if you are implementing your functions in Javascript you can refer to this
>
> http://orientdb.com/docs/last/Functions.html
>
> To implement functions in Java, instead, you have to 
> implement OSQLFunction interface and register functions in the database 
> using db.getMetadata().getFunctionLibrary(). You can see this as an example
>
>
> https://github.com/orientechnologies/orientdb/blob/07efb413a606a692ce99bcf1c11c9868ce5e3248/core/src/main/java/com/orientechnologies/orient/core/sql/functions/math/OSQLFunctionSum.java
>
> Hope it helps
>
> Luigi
>
>
>
> 2015-04-21 19:52 GMT+02:00 Diaa ElKott <[email protected] <javascript:>>:
>
>> Hello, everyone:
>>
>> I was wondering if someone could share with me a tutorial on how to 
>> create server-side functions in OrientDB. The lecture on this topic in the 
>> Getting Started OrientDB course assumes a pre-existing function "
>> *createPerson()*" within the example databases, and builds on it. 
>> Unfortunately, this code does not actually exist in the sample databases.
>>
>> Thanks in advance for your help, and have a nice day.
>>
>> Diaa
>>
>> -- 
>>
>> --- 
>> 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.

Reply via email to