Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (20 sloc) 478 Bytes
<h2>Sample Data</h2>
<p>
Collection name:
<input #SampleCollName id="sample-collection-name" type="text" value="{{MongoDBCollectionName}}">
</p>
<p>
Sample size:
<input #SampleSize id="sample-size" type="number" min="1" max="10" value="1"/>
</p>
<p>
<button (click)="sampleDocs(SampleCollName.value, SampleSize.value)">Sample Docs</button>
</p>
<p>
<span class="errorMessage"> {{SampleDocError}}</span>
</p>
<div class="json">
<pre>
{{SampleDocResult}}
</pre>
</div>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.