osirisdb 0.7.0

A SQL database engine built from scratch in Rust featuring a custom parser, binder, query planner, optimizer, catalog, and storage engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::ast::*;
/// Represents the SQL `PartitionClause` structure in the AST.
#[derive(Debug, Clone, PartialEq)]
pub struct PartitionClause {
    pub kind: PartitionKind,
    pub exprs: Vec<Expr>,
}

/// Represents the `PartitionKind` SQL AST enum.
#[derive(Debug, Clone, PartialEq)]
pub enum PartitionKind {
    Range,
    List,
    Hash,
}