code: def get_all(kind='2'):
          '''
          Get All the records.
          '''
          return TabPost.select().where(
              (TabPost.kind == kind) &
              (TabPost.valid == 1)
          ).order_by(
              TabPost.time_update.desc()
          f get_all(kind='2'):
          '''
          Get All the records.
          '''
          return TabPost.select().where(
              (TabPost.kind == kind) &
              (TabPost.valid == 1)
          ).order_by(
              TabPost.time_update.desc()
          )
docs: Get All the records.