- make use of passed cursor in fetchone() and fetchall() methods and only create
  new cursor if no cursor was given