cast<R extends Query> method

R cast<R extends Query>()

Returns this Query cast as R

If the Query cannot be cast to R it will throw an exception.

Implementation

R cast<R extends Query>() => this as R;