Query via map or via query builder in pp.erl