Implementing support for local params queries with fields