data-dump Questions
14
I want to load data/restore dump data in mongoDB using mongorestore. I am trying to command
mongorestore dump
but it giving me error
Sat Sep 21 16:12:33.403 JavaScript execution failed: Syntax...
Hagiographa asked 21/9, 2013 at 10:43
6
Solved
I want to dump the values of my object and hash, but it keeps printing the keys out of order. How can I dump the keys in (recursive) sort-order?
use Data::Dumper;
print Dumper $obj;
2
I've just got my hands on a Stackoverflow data dump, and I'm disappointed to see that the Body field of the posts is in HTML rather than Markdown. I suspect there's Markdown in the original databas...
1
© 2022 - 2024 — McMap. All rights reserved.