abstacted mysql