Update query-builder.rst

Added some type hinting to the example so that it's easier to understand what the params actually are. Plus it gives users the ability to easily track down available methods on $results