database base class limit not has 2 parameters