Moving implementation backup to _query due to inability to pickle mysql result set object. Retain implemenation approach, however