Skip to main content

push_page

Function push_page 

Source
pub fn push_page<DB: BindValues>(
    query_builder: &mut QueryBuilder<'_, DB>,
    page: Option<u32>,
    page_size: Option<u32>,
)
Expand description

Push a LIMIT page_size OFFSET page * page_size clause, binding both, when both a page and a page size are requested; nothing otherwise.