rustyroad 1.8.7

Rusty Road is a framework written in Rust that is based on Ruby on Rails. It is designed to provide the familiar conventions and ease of use of Ruby on Rails, while also taking advantage of the performance and efficiency of Rust.
1
2
3
4
5
6
7
8
//! Parsers for reversible non-table SQL objects.
mod create;
mod do_block;
use super::SqlOperation;

pub(super) fn parse_object(stmt: &str) -> Option<Vec<SqlOperation>> {
    create::parse(stmt).or_else(|| do_block::parse(stmt))
}