I found the error. I replace
IF($root_node IS NULL) with IF($root_node.size() == 0) to check if the query return results and then the VERTEX exists. Thanks anyway Regards Leo -- --- 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.
