I am writing a waterline adapter for SailsJS which can talk to OrientDB. My 
code is based on Oriento (NodeJS plugin for OrientDB).
I am facing a strange problem, will appreciate if some one can help.

When I make call from Oriento using below SQL command, FETCHPLAN is not 
honored.
SELECT FROM OUser ORDER BY name ASC FETCHPLAN password:-2;

Below is the result (password is not omitted) of above SQL when called 
through Oriento:

Sending query - SELECT FROM OUser ORDER BY name ASC FETCHPLAN password:-2;
Returned result from server:
[ { '@type': 'd',
    '@class': 'OUser',
    name: 'admin',
    password: 
'{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918',
    status: 'ACTIVE',
    roles: [ [Object] ],
    '@rid': { cluster: 5, position: 3 } },
  { '@type': 'd',
    '@class': 'OUser',
    name: 'reader',
    password: 
'{SHA-256}3D0941964AA3EBDCB00CCEF58B1BB399F9F898465E9886D5AEC7F31090A0FB30',
    status: 'ACTIVE',
    roles: [ [Object] ],
    '@rid': { cluster: 5, position: 1 } },
  { '@type': 'd',
    '@class': 'OUser',
    name: 'writer',
    password: 
'{SHA-256}B93006774CBDD4B299389A03AC3D88C3A76B460D538795BC12718011A909FBA5',
    status: 'ACTIVE',
    roles: [ [Object] ],
    mobileNumber: '123',
    firstName: 'test',
    '@rid': { cluster: 5, position: 2 } } ]


If I run the same query in studio, it runs fine with password attribute / 
field not sent back by server.
Can someone help me to figure out the issue. Well, I am going to drop email 
to Oriento developers too.

Regards,
Gaurav

-- 

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