PrevUpHomeNext

jump()

The jump() method is a convenient interface to inner_join(), for times when the left-hand query's contribution to the output is not required.

For any queries l, r, you can call l.jump(r, condition) provided that:

l and r's value mappers will both be visible to condition.

l.jump(r, condition) returns a query with the following characteristics:

l.jump(r, condition) is interchangeable with l.inner_join(r, condition).select(*r), which has exactly the same characteristics.

Example
const query<movie> movies_being_screened =
    screens.jump(movies, screens->current_movie_id == movies->id);

PrevUpHomeNext