Skip to content

enh: use sqlalchemy offset and limit to fetch messages#10

Merged
shsiddhant merged 1 commit into
mainfrom
enh/sqlalchemy
Mar 31, 2026
Merged

enh: use sqlalchemy offset and limit to fetch messages#10
shsiddhant merged 1 commit into
mainfrom
enh/sqlalchemy

Conversation

@shsiddhant
Copy link
Copy Markdown
Owner

Pull Request Summary

Instead of fetching all messages and slicing them, fetch only required messages using SQLAlchemy limit and offset methods.

Type of Change

Choose one or more:

  • Code Refactor

Checklist

  • Code runs without errors
  • Code style and lint checks passed

@shsiddhant shsiddhant self-assigned this Mar 31, 2026
@shsiddhant shsiddhant added the enhancement New feature or request label Mar 31, 2026
@shsiddhant shsiddhant merged commit 1970051 into main Mar 31, 2026
2 checks passed
@shsiddhant shsiddhant deleted the enh/sqlalchemy branch March 31, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant