Specify database connection in Query Builder