simple mixin of rql query
don't use clone
use global object if exists