sqlorm_core/qb/
limit_offset.rs

1use crate::QB;
2
3impl<T> QB<T> {
4    pub fn limit(mut self, limit: i32) -> Self {
5        self.limit = Some(limit);
6        self
7    }
8
9    pub fn offset(mut self, offset: i32) -> Self {
10        self.offset = Some(offset);
11        self
12    }
13}