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
use crate::common::symbol::Symbol;

/// Represents a `USE` statement.
///
/// This AST node captures the parameters for switching the current active database,
/// corresponding to `USE name;`
#[derive(Debug, Clone, PartialEq)]
pub struct UseDatabaseStmt {
    /// The name of the database to switch to.
    pub database_name: Symbol,
}