added db_generic_query_view() to simplify /tabview and /my implementations