orientjs
orientjs copied to clipboard
quote mark needlessly inserted into record (bug?)
db.exec('CREATE USER :name IDENTIFIED BY :password ROLE person', {params:{ name:userMap.name, password:userMap.password }} )
Let userMap={name:"user1",password:"123"}. After execution, the field 'name' of this new OUser record stores '"user1"', instead of 'user1'. Why?
hi @zhiguan-hanks
let me check
hi @zhiguan-hanks
yes seems a bug with the CREATE USER statement.
Thanks a lot!