async getMetadataList (page, size) {
    let result = await db('metadatas').orderBy('releaseDate', 'desc').select('*').paginate({
      perPage: size,
      currentPage: page
    })

    let total = await db('metadatas').count()
    total = total[0]['count(*)']

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

    const processed = await this._processMetadataList(result)

    return {
      total,
      data: processed
    }
  }
Get metadata list

@param {Int} page page number
@param {Int} size page size

@returns {Array} metadata list