Closed webmasterslava closed 8 years ago
User.js
module.exports.attributes = { Name: 'string', IsPrimary: 'boolean' }
SomeController.js
module.exports.update = { User.update({ Name: { '!': ['test'] } }, { isPrimary: false }, function(err) { ... }) }
OrientDB.RequestError: Error on parsing command at position #0: Error parsing query: UPDATE User SET RETURN AFTER WHERE Name NOT IN ['test']
See empty SET section. If replace IsPrimary field by some field with type 'string' it works perfect.
User.js
SomeController.js
See empty SET section. If replace IsPrimary field by some field with type 'string' it works perfect.