code: def query_recent_most(num=8, recent=30):
          '''
          Query the records from database that recently updated.
          :param num: the number that will returned.
          :param recent: the number of days recent.
          '''
          time_that = int(time.time()) - recent * 24 * 3600
          return TabPost.select().where(
              TabPost.time_update > time_that
          ).order_by(
              TabPost.view_count.desc()
          ).limit(numf query_recent_most(num=8, recent=30):
          '''
          Query the records from database that recently updated.
          :param num: the number that will returned.
          :param recent: the number of days recent.
          '''
          time_that = int(time.time()) - recent * 24 * 3600
          return TabPost.select().where(
              TabPost.time_update > time_that
          ).order_by(
              TabPost.view_count.desc()
          ).limit(num)
docs: Query the records from database that recently updated.
          :param num: the number that will returned.
          :param recent: the number of days recent.