By the way... I did add
SELECT @this.toJSON() FROM OUser;
and found another bug...
It's creating an infinite sized JSON object.
Trying to call JSON.parse() on the results gives...
"C:\Program Files (x86)\JetBrains\WebStorm 9.0.1\bin\runnerw.exe" "c:\program
files\nodejs\node.exe" testo2.js
Unhandled rejection TypeError: Converting circular structure to JSON
at Object.stringify (native)
at Db.<anonymous> (d:\Test\src\OTests\node_modules\testo2.js:14:26)
at Db.tryCatcher (d:\Test\src\OTests\node_modules\orientjs\node_modules\
bluebird\js\main\util.js:26:23)
at Promise._settlePromiseFromHandler (d:\Test\src\OTests\node_modules\
orientjs\node_modules\bluebird\js\main\promise.js:503:31)
at Promise._settlePromiseAt (d:\Test\src\OTests\node_modules\orientjs\
node_modules\bluebird\js\main\promise.js:577:18)
at Promise._settlePromises (d:\Test\src\OTests\node_modules\orientjs\
node_modules\bluebird\js\main\promise.js:693:14)
at Async._drainQueue (d:\Test\src\OTests\node_modules\orientjs\
node_modules\bluebird\js\main\async.js:123:16)
at Async._drainQueues (d:\Test\src\OTests\node_modules\orientjs\
node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (d:\Test\src\OTests\
node_modules\orientjs\node_modules\bluebird\js\main\async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:358:17)
--
---
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.