orientjs icon indicating copy to clipboard operation
orientjs copied to clipboard

quote mark needlessly inserted into record (bug?)

Open ghost opened this issue 8 years ago • 3 comments

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?

ghost avatar Jan 10 '17 05:01 ghost

hi @zhiguan-hanks

let me check

wolf4ood avatar Jan 10 '17 10:01 wolf4ood

hi @zhiguan-hanks

yes seems a bug with the CREATE USER statement.

wolf4ood avatar Jan 10 '17 10:01 wolf4ood

Thanks a lot!

ghost avatar Jan 19 '17 09:01 ghost