Hi Garrett,

UPDATE executes a query to OrientDB.
*transform()* invoke a callback function for each record in result set and
replace record by the results of callback functions.
*It* works like *map()* function, it does a transformation of returned
record. In an example referred in the documentation it wraps the orientdb
document with instance of User.


Best regards,
Artem Orobets

* Orient Technologiesthe Company behind OrientDB*


2014-06-23 22:04 GMT+03:00 Garrett Gottlieb <[email protected]>:

> Coming from a RDBMS background, I understand what an UPDATE call does.
> However, I'm not sure about this transform function.
> <https://github.com/codemix/oriento#query-builder-transform-a-record> Does
> it permanently modify the row? If so, what's the difference from an UPDATE
> call?
>
> Thanks
>
> --
>
> ---
> 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