limit method
Implementation
DBHelper limit(int count, [int offset = 0]) {
if (_query.contains("SELECT")) {
if (!_query.contains("LIMIT")) {
_query += " LIMIT $count OFFSET $offset ";
}
} else {
_query += "SELECT * FROM $table LIMIT $count OFFSET $offset ";
}
return this;
}