The query is based on this commit:
https://github.com/elcamlost/mikrotik-p ... 97251f666e
So it is no complete implementation of all possibilites of query. It is a very simple AND.
For example
die Dumper( $api->query('/interface/print', {}, { type => 'ether', slave => 'true', 'fast-path' => 'true', running => 'true' } ) );
results in
?type=ether
?slave=true
?fast-path=true
?running=true
No possibility at the moment to work with ?#.
Perhaps I will rework this if I need it at some time. But then the whole data structure of query must be reworked, because at the moment it is a hash, that is not ordered. A good syntax would be similar to DBIx::Class::ResultSet:
http://search.cpan.org/dist/DBIx-Class/ ... .pm#search
This has a simple syntax like before, but also possible to use logical operators
{ -or => { type => 'ether', type => 'vlan', fast-path => 'true' }, slave => 'true' }
Everything else is possible except ?#, so no chance to query something other than AND.
{ '>tx-errors' => 0, '<tx-errors' => 17 }