diff --git a/acacore/database/base.py b/acacore/database/base.py index ca25751..d7749df 100644 --- a/acacore/database/base.py +++ b/acacore/database/base.py @@ -321,7 +321,7 @@ def select( if limit is not None: statement += f" LIMIT {limit}" - if offset is not None: + if offset is not None and offset > 0: statement += f" OFFSET {offset}" return Cursor(self.connection.execute(statement, parameters), columns, self)