added QueryOne and QueryAll facade functions to reduce code typing