Error fixes and documentation update

Fixes to named placeholder
Updated error throwing and returns
Adds functionality to queryRow
Updated documentation