1pub mod window_doc_sections {
7 use crate::DocSection;
8
9 pub fn doc_sections() -> Vec<DocSection> {
10 vec![
11 DOC_SECTION_AGGREGATE,
12 DOC_SECTION_RANKING,
13 DOC_SECTION_ANALYTICAL,
14 ]
15 }
16
17 pub const DOC_SECTION_AGGREGATE: DocSection = DocSection {
18 include: true,
19 label: "Aggregate Functions",
20 description: Some("All aggregate functions can be used as window functions."),
21 };
22
23 pub const DOC_SECTION_RANKING: DocSection = DocSection {
24 include: true,
25 label: "Ranking Functions",
26 description: None,
27 };
28
29 pub const DOC_SECTION_ANALYTICAL: DocSection = DocSection {
30 include: true,
31 label: "Analytical Functions",
32 description: None,
33 };
34}