async getMetadataListByMetaId (type, metaId, page, size) {
    const mapping = this._getTypeMapping(type)

    let result = await db(`${mapping.type}_mapping`).where(mapping.column, metaId).orderBy('id', 'desc').select('metadataId').paginate({
      perPage: size,
      currentPage: page
    })

    let total = await db(`${mapping.type}_mapping`).where(mapping.column, metaId).count()
    total = total[0]['count(*)']

    result = result.data
    if (!result) return []

    const processed = []
    for (const i in result) {
      const metadataId = result[i].metadataId

      const res = await this.getMetadataById(metadataId)
      if (res) processed.push(res)
    }

    return {
      total,
      data: processed,
      metaInfo: await this.getMetaInfoByMetaId(this._getTypeMapping(type).type, metaId)
    }
  }
Get metadata list by meta id

@param {String} type meta type(tag, series, star)
@param {Int} metaId meta id
@param {Int} page page number
@param {Int} size page size

@returns {Array} metadata list