This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.getCollectionNames().forEach(function (collectionName) { | |
const collection = db.getCollection(collectionName); | |
const stats = collection.stats(); | |
print('COLLECTION: ' + collectionName); | |
print(' size(MB): ' + (stats.size/1024/1024).toFixed(2)); | |
print(' count: ' + stats.count); | |
print(' avgObjSize: ' + stats.avgObjSize); | |
print(' storageSize(MB): ' + (stats.storageSize/1024/1024).toFixed(2)); | |
print(' nindexes: ' + stats.nindexes); | |
print(' totalIndexSize(MB): ' + (stats.totalIndexSize/1024/1024).toFixed(2)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>AngularJS minimal example for Klemens</title> | |
</head> | |
<body ng-app="myApp"> | |
<h1>AngularJS minimal example for Klemens</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Specialized; | |
using System.Diagnostics; | |
using Foundation; | |
using UIKit; | |
namespace Praeclarum.UI | |
{ | |
[Register ("ObservableTableViewController")] |