Hello, I'm trying to run a JS function from within the java API, like so:
ODatabaseDocumentTx odbTx = oPartitionedDatabasePool.acquire(); OFunction function = odbTx.getMetadata().getFunctionLibrary().getFunction( "functionName"); Number result = (Number)function.execute(userId); The trouble is odbTx.getMetadata().getFunctionLibrary() gives me an empty function library. Of course, I can access and run the functions from within studio without any issues. Any idea what I'm doing wrong? Thanks, Mihai -- --- 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.
