Typical usage is:
$statementBuilder = new StatementBuilder() ->Where("lastModifiedDateTime > :yesterday AND type = :type") ->OrderBy("name DESC") ->Limit(200) ->Offset(20) ->WithBindVariableValue("yesterday", date(DateTimeUtils::$DFP_DATE_TIME_STRING_FORMAT, strtotime('-1 day')) ->WithBindVariableValue("type", "Type") $statement = $statementBuilder->ToStatement(); ... $statementBuilder->IncreaseOffsetBy(20); $statement = $statementBuilder->ToStatement();