code: def query_all():
          '''
          Query all the records from TabPost2Tag.
          '''
          recs = TabPost2Tag.select(
              TabPost2Tag,
              TabTag.kind.alias('tag_kind'),
          ).join(
              TabTag,
              on=(TabPost2Tag.tag_id == TabTag.uid)
          )
          return recf query_all():
          '''
          Query all the records from TabPost2Tag.
          '''
          recs = TabPost2Tag.select(
              TabPost2Tag,
              TabTag.kind.alias('tag_kind'),
          ).join(
              TabTag,
              on=(TabPost2Tag.tag_id == TabTag.uid)
          )
          return recs
docs: Query all the records from TabPost2Tag.