within

fun Store.within(vararg namespace: String): Store

Returns a view of this store whose namespaces all start with namespace. Give each user a view of their own, store.within("users", userId), so that a graph compiled once serves every user, and nothing in it can read what another user's runs wrote.

The items that the view returns leave out the parts it adds. A view of a view adds both.

Throws

if namespace is empty or has an empty part.