Ensure all necessary SQL types are publicly exported

This commit is contained in:
Tobie Morgan Hitchcock 2022-05-04 00:08:31 +01:00
parent ffc3ed82f7
commit 65d0e3138a
3 changed files with 6 additions and 4 deletions

View file

@ -12,9 +12,9 @@ use std::str;
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Serialize, Deserialize)]
pub struct Expression {
l: Value,
o: Operator,
r: Value,
pub l: Value,
pub o: Operator,
pub r: Value,
}
impl Default for Expression {

View file

@ -68,6 +68,7 @@ pub use self::field::Field;
pub use self::field::Fields;
pub use self::function::Function;
pub use self::geometry::Geometry;
pub use self::graph::Dir;
pub use self::graph::Graph;
pub use self::group::Group;
pub use self::group::Groups;
@ -80,6 +81,7 @@ pub use self::limit::Limit;
pub use self::model::Model;
pub use self::number::Number;
pub use self::object::Object;
pub use self::operation::Op;
pub use self::operation::Operation;
pub use self::operator::Operator;
pub use self::order::Order;

View file

@ -7,7 +7,7 @@ use std::str;
#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize, Deserialize)]
pub struct Query {
statements: Statements,
pub statements: Statements,
}
impl Query {