Extracted MySQL operations