Menu

Commit [r2859]  Maximize  Restore  History

openborvariant("models_cached"); Returns total number of models.

openborvariant("models_loaded"); Returns number of models loaded.

getmodelproperty({index}, {property}); Returns property from cached model.

{index} - Model index. Enumerate the collection to find a specific model.

{property}
0: Loaded (1 = yes, 2 = no)
1: Model (Unstable, returns name for now).
2: Model name.
3: Path.
4: Selectable (1 = Yes, 2 = No).

changemodelproperty({index}, {property}, {value}); Change a model property. Any property (see getmodelproperty) is accepted, but only "selectable" property can actually be changed.

damon_caskey 2010-07-15

MongoDB Logo MongoDB