Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
variety
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
variety
Commits
0b876838
Commit
0b876838
authored
Apr 09, 2012
by
James Cropcho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collection variable
parent
338e8ea9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
README.markdown
README.markdown
+1
-0
TODO
TODO
+0
-1
mongoDBSchemaAnalyzer.js
mongoDBSchemaAnalyzer.js
+1
-1
No files found.
README.markdown
View file @
0b876838
...
...
@@ -60,3 +60,4 @@ I every reason to believe this tool will **not** corrupt your data or harm your
Released by Maypop Inc, © 2012, under the
[
MIT License
]
(
http://www.opensource.org/licenses/MIT
)
.
TODO
View file @
0b876838
throw "You have to supply a 'collection' variable, a la \"--eval 'var limit = 10'\"";
is 'limit' broken?
to readme: contribuing/report issues etc
make public
mongoDBSchemaAnalyzer.js
View file @
0b876838
if
(
typeof
collection
==
"undefined"
)
{
throw
"You have to supply a 'collection' variable, à la
\"
--eval 'var limit = 10'
\"
"
;
throw
"You have to supply a 'collection' variable, à la
--eval 'var collection =
\"
animals
\"
'
"
;
}
if
(
typeof
limit
==
"undefined"
)
{
limit
=
db
[
collection
].
count
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment