-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Sometimes it can be useful to run more advanced logic against a Realm that is not just a query.
Examples:
- Batch updates with logic
- Checking Query-based privileges
- Doing advanced filtering not expressible in one query
- Debugging
In those cases it would be helpful with a REPL like interface where people can copy-paste Javascript code into and have it evaluated against the current Realm.
A (hopefully) easy first implementation would be to use the Log component as a basis for this.
The current Realm should be exposed as a realm variable people can use, possibly also the currently logged in user.