public void ShouldGenerateMySqlLimitWithOffset() { var query = new MySqlQuery <User>() .Limit(19, 20); string actual = query.ToString(); Assert.Equal("LIMIT 19 OFFSET 20", actual); }
public void ShouldGenerateMySqlLimit() { var query = new MySqlQuery <User>() .Limit(75); string actual = query.ToString(); Assert.Equal("LIMIT 75", actual); }