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
use crate::ast::*;
/// Represents the SQL `OrderItem` structure in the AST.
#[derive(Debug, Clone, PartialEq)]
pub struct OrderItem {
    pub expr: Expr,
    pub asc: bool,
}

/// Represents the `Order` SQL AST enum.
#[derive(Debug, Clone, PartialEq)]
pub enum Order {
    Asc,
    Desc,
}