icydb-core 0.94.0

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod atom;
mod chain;

use crate::{
    db::predicate::Predicate,
    db::sql_shared::{SqlParseError, SqlTokenCursor},
};

/// Parse one full predicate tree from the shared reduced-SQL token cursor.
pub(in crate::db) fn parse_predicate_from_cursor(
    cursor: &mut SqlTokenCursor,
) -> Result<Predicate, SqlParseError> {
    crate::db::predicate::parser::expression::chain::parse_or_predicate(cursor)
}