Return the underlying query or query function.
Return the underlying query or query function. It can be safely extracted for reuse without caching the compiled representation.
The profile which is used for compiling the query.
Perform a transformation of the underlying value.
Perform a transformation of the underlying value. The computed Compiled
value is returned unmodified.
Perform a transformation of the underlying value.
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.
(Since version 3.2) Use profile
instead of driver
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 areCompilable
.