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
use crate::ast::*;

/// Represents a single column key or expression key inside a `CREATE INDEX` specification.
#[derive(Debug, Clone, PartialEq)]
pub struct IndexItem {
    /// The column reference or expression key.
    pub expr: Expr,
    /// Optional index sort criteria (`ASC` / `DESC`).
    pub order: Option<Order>,
    /// Optional null values placement preference inside the index structure (`NULLS FIRST` / `NULLS LAST`).
    pub nulls: Option<NullOrdering>,
}