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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For many use cases, the ORM module cache needs to be manually cleared.
This is useful in cases where you are bootstrapping mocha tests and need isolation, or are pooling resources on a server.
This can be done by calling orm.singleton.clear().
Can someone update the documentation to reflect this?
The text was updated successfully, but these errors were encountered:
It saved me some headache! I don't know why they don't refresh the cache when a model has changed. When i have a 'list' with 'items' and create a new 'item', the list doesn't retrieve the new item on page refresh, it does on server restart...
For many use cases, the ORM module cache needs to be manually cleared.
This is useful in cases where you are bootstrapping mocha tests and need isolation, or are pooling resources on a server.
This can be done by calling orm.singleton.clear().
Can someone update the documentation to reflect this?
The text was updated successfully, but these errors were encountered: