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
/// A contiguous region of source text with line and column metadata.
///
/// Records the start and end byte indexes as well as the 1-based human-readable line
/// and column numbers for error reporting.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Span {
    /// The starting byte index of this span in the source SQL.
    pub start: usize,
    /// The ending (exclusive) byte index of this span in the source SQL.
    pub end: usize,
    /// The 1-based line number of the start of this span.
    pub line: usize,
    /// The 1-based column number of the start of this span.
    pub column: usize,
}