- Internal RG Wiki
- Internal Documents
- Debug/YAML/Search Changes
How to search field values in the database
If a field is mapped, you can see what the field options are in the dropdown menu in the terminal.
Go to mongos: example --> cid 74
and type in:db.properties.distinct('id of the field',{enabled:true,board:<board#>})
The results should look like:
mongos> db.properties.distinct('pool_spa',{enabled:true,board:74})
[
"Community",
"In-Ground",
"Pool",
"Hot Tub/Spa",
"Private",
"Above Ground"
]