A possibly parameterized query that will be cached for repeated efficient
execution without having to recompile it every time. The compiled state
is computed on demand the first time a Cached value is executed. It is
always tied to a specific profile.
Cached forms a limited monad which ensures that it can only contain
values that are Compilable.
Perform a transformation of the underlying value. The computed value must
be Compilable. The resulting Compiled instance will be recompiled when
needed. It does not benefit from this instance already containing the
compiled state.
Perform a transformation of the underlying value. The computed value must
be Compilable. The resulting Compiled instance will be recompiled when
needed. It does not benefit from this instance already containing the
compiled state.