/// Deserialize a query in binary format.
Deserialize a query in binary format.
Deserialize a query in binary format .
pub fn parse_query(
    cursor: &mut Cursor,
    temporaries: &mut Temporaries
) -> Result<Query> {
    let variable_names = parse_strings(cursor)?;
    let where_statements = parse_statements(cursor, temporaries)?;
    let selects = parse_variables(cursor)?;
    let query = Query {
        variable_names: variable_names,
        where_statements: where_statements,
        select: selects,
    };
    Ok(query)
}
pub fn parse_query ( cursor : & mut Cursor , temporaries : & mut Temporaries ) -> Result < Query > { let variable_names = parse_strings ( cursor ) ? ; let where_statements = parse_statements ( cursor , temporaries ) ? ; let selects = parse_variables ( cursor ) ? ; let query = Query { variable_names : variable_names , where_statements : where_statements , select : selects , } ; Ok ( query ) }
Deserialize a query in binary format.
Deserialize a query in binary format .
cursor
&mut Cursor
temporaries
&mut Temporaries