Hi cr0xfyre,

which version? I remember I worked on this some time ago...

Luigi


2015-05-20 13:03 GMT+02:00 cr0xfyre <[email protected]>:

> Hi everyone! I've found an annoying problem when using server-sided
> functions:
>
> Function *printText *is a server-side function that receives a text and
> simply returns it.
>
> *select printText('Hello world!')* works fine, but
>
> *select printText('Hello from the world!')* throws the error:
>
> --> com.orientechnologies.orient.core.exception.OCommandExecutionException
> : Class 'THE' was not found in current database [ONetworkProtocolHttpDb]
> 2015-05-20 12:50:55:294 SEVERE Internal server error:
> com.orientechnologies.orient.core.exception.OQueryParsingException: Error
> on parsing query
> Query:  world!')
> ------^
>
>
> I'm guessing the 'from' keyword is being detected inside the argument
> string...
>
> Is this a bug or feature? How do I work around it when I want to pass
> arbitrary text to a function (that can have or not the 'from' word) ?
>
> Best,
> cr0xfyre
>
> --
>
> ---
> 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