mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 13:45:53 +00:00
Parser used to output the where clause as a vector of relations, but now we can change it to a vector of expressions. Cql.g needs to be modified to output expressions instead of relations. The WHERE clause is kept in a few places in the code that need to be changed to vector<expression>. Finally relation->to_restriction is replaced by expr::to_restriction and the expressions are converted to restrictions where required. The relation class isn't used anywhere now and can be removed. Signed-off-by: cvybhu <jan.ciolek@scylladb.com>