Skip to content
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

Add Database.Cursor methods to TIA #40

Open
benjaminloerincz opened this issue Feb 2, 2025 · 1 comment
Open

Add Database.Cursor methods to TIA #40

benjaminloerincz opened this issue Feb 2, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@benjaminloerincz
Copy link
Contributor

benjaminloerincz commented Feb 2, 2025

Add these methods of namespace Database, class Cursor to TIA:

  • Database.Cursor.fetch(Integer position, Integer count)
  • Database.Cursor.getNumRecords()
@benjaminloerincz
Copy link
Contributor Author

benjaminloerincz commented Feb 22, 2025

Both methods are not static as described in documentation. We need to inform the Salesforce documentation team to correct this. Errors on deployment:

  • Non static method cannot be referenced from a static context: List Database.Cursor.fetch(Integer, Integer)
  • Non static method cannot be referenced from a static context: Integer Database.Cursor.getNumRecords()

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
Status: No status
Development

No branches or pull requests

1 participant