async getUserBookmarkList (uid, onlyId = false) {
    const result = await db('bookmarks').where('uid', uid).select('*')

    const processed = []
    for (const i in result) {
      const item = result[i]
      processed.push((onlyId) ? item.id : Object.assign({}, item))
    }

    return processed
  }
Get bookmark list by user id

@param {Int} uid user id
@param {Boolean} onlyId only return id list

@returns {Array} bookmark list