Yes, but unless I'm totally missing it, neither the old or the new
documentation really document the custom JS function environment. There are
some code examples that use some of the objects and functions, but, for
example (from Alessandro's example code), getId() and commit() are not
documented anywhere that I could find. While I can probably guess what
commit() does (although that doesn't really tell me the whole story--does
it need a corresponding begin(); is there a cancel() or rollback()?; etc.),
I'm not sure how I should guess that getId() even exists or how I should
know to use it. That's the frustrating part--projects that should take less
than an hour end up taking hours or days due to having to learn the
environment by trial-and-error. I'm probably beating a dead horse here, but
I really do hope ODB makes documentation a higher priority going forward.

On Mon, Jun 6, 2016 at 1:15 PM, 'scott molinari' via OrientDB <
[email protected]> wrote:

> Did you look through the other links in the menu under "Functions"? Not
> sure that info will help, but it does go into a little more detail about
> functions.
>
> Scott
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/en8zNxWtC88/unsubscribe.
> To unsubscribe from this group and all its topics, 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