iwind / rockmongo

RockMongo is a MongoDB administration tool, written in PHP 5.
http://rockmongo.com
Other
1.05k stars 407 forks source link

'Fields' does not list all the available fields #67

Closed tapuat closed 10 years ago

tapuat commented 10 years ago

When wanting to query a collection, only the first 8 fields are listed. User should be able to see and select all the fields.

iwind commented 10 years ago

MongoDB did not provide an api to retrieve fields in collection, so we have to lookup first row in collection to parse "fields", if data in every rows contains different fields, we can not scan all the rows, it will be too slow.