Skip to content

Pagination support for Transactions Query #1022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Pagination support for Transactions Query #1022

wants to merge 3 commits into from

Conversation

AkramBitar
Copy link
Contributor

No description provided.

@AkramBitar AkramBitar self-assigned this Mar 26, 2025
@AkramBitar AkramBitar marked this pull request as draft March 26, 2025 23:56
@AkramBitar AkramBitar linked an issue Mar 26, 2025 that may be closed by this pull request
@alexandrosfilios alexandrosfilios self-requested a review April 7, 2025 06:14
Copy link
Contributor

@alexandrosfilios alexandrosfilios left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments to address

type Pagination = driver2.Pagination

// Pagination iterator defines the pagination iterator for movements query results
type PageIterator = driver2.PageIterator[*TransactionRecord]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name is a bit too generic to concern only transaction records. I don't think we need it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to
type PageTransactionsIterator = driver3.PageIterator[*TransactionRecord]
Is that ok?
or do you want me to remove it at all?

type Pagination = driver3.Pagination

// Pagination iterator defines the pagination iterator for movements query results
type PageIterator = driver3.PageIterator[*TransactionRecord]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to
type PageTransactionsIterator = driver3.PageIterator[*TransactionRecord]
Is that ok?
or do you want me to remove it at all?

alexandrosfilios and others added 2 commits April 9, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pagination to all token-sdk dbs' queries
2 participants