diesel/query_builder/
limit_clause.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
simple_clause!(
    /// A query node indicating the absence of a limit clause
    ///
    /// This type is only relevant for implementing custom backends
    #[cfg_attr(
        feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes",
        cfg(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes")
    )]
    NoLimitClause,
    /// A query node representing a limit clause
    ///
    /// This type is only relevant for implementing custom backends
    #[cfg_attr(
        feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes",
        cfg(feature = "i-implement-a-third-party-backend-and-opt-into-breaking-changes")
    )]
    LimitClause,
    " LIMIT "
);