javascript - How to back String from UUID in node-js -
using express-cassandra generating uuid uuidfromstring()
method. there way previous form.
yes, use tostring()
method on uuid
object generated. example:
var myuuid = uuid.fromstring('ce547c40-acf9-11e6-80f5-76304dec7eb7'); var myuuidstring = myuuid.tostring();
since express-cassandra using datastax driver under covers, can see uuid
docs here:
http://docs.datastax.com/en/drivers/nodejs/3.0/module-types-uuid.html
Comments
Post a Comment