The driver which is used for compiling the query.
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.
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.
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 driver.Cached
forms a limited monad which ensures that it can only contain values that areCompilable
.