feophant 0.9.0

A SQL database server written in Rust and inspired by PostreSQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The rewrite processor take a parsed query and makes it into a set of commands that can be sequentially executed.
use super::objects::QueryTree;
use thiserror::Error;

pub struct Rewriter {}

impl Rewriter {
    pub fn rewrite(query_tree: QueryTree) -> Result<QueryTree, RewriterError> {
        Ok(query_tree)
    }
}

#[derive(Debug, Error)]
pub enum RewriterError {
    #[error("Unknown")]
    Unknown(),
}