-
Notifications
You must be signed in to change notification settings - Fork 20
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
Paged results #21
Comments
I was hoping this should be fairly self explanatory based on IntelliSense? The Does that help? Is IntelliSense all working for you? It should be since v. 3.0.5 and 66f0106 . |
It should but, traction seems to vary. I will take a look at next run
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Mike Beaton <[email protected]>
Sent: Saturday, March 21, 2020 2:05:44 PM
To: MightyOrm/Mighty <[email protected]>
Cc: Joe Garrett <[email protected]>; Author <[email protected]>
Subject: Re: [MightyOrm/Mighty] Paged results (#21)
I was hoping this should be fairly self explanatory based on IntelliSense?
The PagedResults object has fields Items, TotalPages and TotalRecords. If you just type . next to a PagedResults object in Visual Studio or VS Code then it should show them to you as auto-complete options? And the fields themselves have IntelliSense.
Does that help? Is IntelliSense all working for you? It should be since v. 3.0.5<https://github.com/MightyOrm/Mighty/tree/3.0.5> and 66f0106<66f0106> .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AADZAFZVTDVD77N73EMIYLLRIUFYRANCNFSM4LQ6KNHA>.
|
@garrjo I'm gathering that what would have helped here is just a bit more detail in the current docs on paging, right? |
Absolutely,. Having an example to go by beyond the implementation. A Use case would definitely given direction as to how exactly to implement
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Mike Beaton <[email protected]>
Sent: Sunday, March 22, 2020 1:18:43 AM
To: MightyOrm/Mighty <[email protected]>
Cc: Joe Garrett <[email protected]>; Mention <[email protected]>
Subject: Re: [MightyOrm/Mighty] Paged results (#21)
@garrjo<https://github.com/garrjo> I'm gathering that what would have helped here is a bit more detail in the current docs on paging<https://mightyorm.github.io/Mighty/docs/paging.html>, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AADZAF4IZ3ZWE5UIRGWQOPDRIWUUHANCNFSM4LQ6KNHA>.
|
Fair point! :) I'm trying to match - but not necessarily exceed, given available time and resources! - the detail of the docs for Massive. So I agree I should document the fields that are in So I'll leave this Issue open pending adding this info to the docs. |
Sounds great. Thank you for your work and time.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Mike Beaton <[email protected]>
Sent: Monday, March 23, 2020 4:21:52 AM
To: MightyOrm/Mighty <[email protected]>
Cc: Joe Garrett <[email protected]>; Mention <[email protected]>
Subject: Re: [MightyOrm/Mighty] Paged results (#21)
Fair point! :)
I'm trying to match - but not necessarily exceed, given available time and resources! - the detail of the docs for Massive. So I agree I should document the fields that are in PagedResults, and also the reason for having them (namely, that you can't show a user paging info unless the call to the paging method returns the total number of pages/items along with the items for the current page).
So I'll leave this Issue open pending adding that info to the docs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#21 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AADZAFYHIEQB2YEDMJEVEUDRI4S3BANCNFSM4LQ6KNHA>.
|
I'm attempting to write a Paged Query and I have configured it to do so; however, the yielded result set is atypical of what normally would occur in a result set coming from MighyOrm. Do we have more documentation to give me an example of how exactly is the best practice to work wiith a PagedResult?
var tbl = new Mighty.StartingAccounts(); var page = tbl.Paged(currentPage: currentPage, pageSize: 100, columns:"Id");
As I'd like to work with them in a list I'm unfamiliar with how to bring them to it? Since the result is PagedResults ... Can you give me a hint here?
The text was updated successfully, but these errors were encountered: