Figured it out.

Looking at the source for OScriptManager  
<https://github.com/orientechnologies/orientdb/blob/master/core/src/main/java/com/orientechnologies/orient/core/command/script/OScriptManager.java#L226>(the
 
line highlighted), it binds an instance of "OScriptDocumentDatabaseWrapper" 
to the variable "db" and an instance of "OScriptOrientWrapper" to the 
variable "orient" - This means we can access all the methods inside the 
above Java classes from JavaScript via the above variables.

Therefore, the Java Docs for the above two classes essentially becomes the 
docs for the JavaScript API.

Not too sure whether this is the absolute truth, but it works for me :)

On Thursday, March 26, 2015 at 7:29:37 PM UTC+5:30, Omega Silva wrote:
>
> Hi all,
>
> Is there any documentation available for JavaScript API? If so can someone 
> be kind enough to provide me a URL pls?
>
> Thanks
> Omega
>

-- 

--- 
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