code: def query_dated(num=8, kind='1'):
          '''
          Query posts, outdate.
          '''
          return TabPost.select().where(
              TabPost.kind == kind
          ).order_by(
              TabPost.time_update.asc()
          ).limit(numf query_dated(num=8, kind='1'):
          '''
          Query posts, outdate.
          '''
          return TabPost.select().where(
              TabPost.kind == kind
          ).order_by(
              TabPost.time_update.asc()
          ).limit(num)
docs: Query posts, outdate.