croak "Unknown where clause type " . dump($ast);
}
+ # Deals with where({ .... }) case
method recurse_where_hash(LogicEnum $logic, HashRef $ast) returns (AST) {
my @args;
my $ret = {
return $ret;
}
+ # Deals with where([ .... ]) case
method recurse_where_array(LogicEnum $logic, ArrayRef $ast) returns (AST) {
my @args;
my $ret = {
return $ret;
}
+ # { field => { .... } } case
method field_hash(Str $key, HashRef $value) returns (AST) {
my ($op, @rest) = keys %$value;