Crate restq

Source

Re-exports§

pub use ast::ddl::table_def;
pub use ast::ddl::ColumnDef;
pub use ast::ddl::Foreign;
pub use ast::parser;
pub use ast::parser::filter_expr;
pub use ast::parser::select;
pub use ast::parser::utils::bytes_to_chars;
pub use ast::parser::utils::space;
pub use ast::parser::utils::to_chars;
pub use ast::ColumnName;
pub use ast::Expr;
pub use ast::Operator;
pub use ast::Select;
pub use ast::TableDef;
pub use ast::TableError;
pub use ast::TableName;
pub use data_value::DataValue;
pub use multi_stmt::MultiStatement;
pub use plain_data::PlainData;
pub use stmt_data::parse_select_chars;
pub use stmt_data::StmtData;
pub use sqlparser as sql;
pub use chrono;
pub use pom;

Modules§

ast
data_value
multi_stmt
plain_data
Plain csv data contains only the table definition and the csv data
stmt_data

Structs§

CsvRows
Uuid
A Universally Unique Identifier (UUID).

Enums§

DataType
restq supports comprehensive data types based on rust and postgresql type, combined together format: <data_type>? ? - indicates it is optional, nullable in database context example: text? - nullable text text(8..) - text with at least 8 characters long text(..255) - text must not be more than 255 characters long. u32(1) - u32 with default value of 1 u32(>10) - check value should be greater than 10 u32(10<column<=20) - check the value should be greater than 10 and less than or equal to 20 u32(<discount) - check value should be lesser than discount column f32(0.0) - f32 with 0.0 as the default value
Error