NTFY-282: fix deprecated db driver call and adjusted some logic when returning a single record
NTFY-282: fix deprecated db driver call and adjusted some logic when returning a single record

bridgeit/bridgeit-common