René's URL Explorer Experiment


Title: feat(database): support the optional startAt key by cartant · Pull Request #821 · angular/angularfire · GitHub

Open Graph Title: feat(database): support the optional startAt key by cartant · Pull Request #821 · angular/angularfire

X Title: feat(database): support the optional startAt key by cartant · Pull Request #821 · angular/angularfire

Description: Checklist Issue number for this PR: #362 Docs included?: yes Test units included?: yes e2e tests included?: no In a clean directory, npm install, npm run build, and npm test run successfully? yes Description This PR introduces support for the optional key parameter that can be passed to the SDK's startAt method. According to the SDK documentation, the parameter is "allowed if ordering by child, value, or priority". There was some discussion in the linked (and closed) issue regarding the key parameter only being supported and useful when ordering by priority, but the documentation suggests that it is also supported - by startAt - when ordering by child and value. Indeed, were it not to be supported, it would not be possible to reliably page through lists that are ordered by child when there are large numbers of items with the same child value. This is an issue that I currently have with an implementation of a FirebaseListObservable-based infinite list. There is a plunk here that demonstrates the use of key with the SDK to page when ordering by child. Code sample The key parameter is really only useful when paging through results, so this code sample is contrived and not particularly sensible: let list = angularFire.database.list('some/data', { query: { orderByChild: 'some-child', startAt: { value: 'some-value', key: 'some-key' }, limitToFirst: 10 } });

Open Graph Description: Checklist Issue number for this PR: #362 Docs included?: yes Test units included?: yes e2e tests included?: no In a clean directory, npm install, npm run build, and npm test run successfully? yes ...

X Description: Checklist Issue number for this PR: #362 Docs included?: yes Test units included?: yes e2e tests included?: no In a clean directory, npm install, npm run build, and npm test run successfully? yes ...

Opengraph URL: https://github.com/angular/angularfire/pull/821

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a7f525cc-462f-3079-fe44-70fba9131cde
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D42:2100CB:155C0ED:1CB369B:6A5B8BAA
html-safe-noncec4c906f235e176c7f7d03b0a08d9ff40aba574e417e93dc6b3203321f757383e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDQyOjIxMDBDQjoxNTVDMEVEOjFDQjM2OUI6NkE1QjhCQUEiLCJ2aXNpdG9yX2lkIjoiODIyNDcwOTM3ODI5OTM2NjMxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac09a7921110312d96dedf81c2cab80a041b193dcea6675a363eba6e337f37ff4b
hovercard-subject-tagpull_request:105737458
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angularfire/pull/821/files
twitter:imagehttps://avatars.githubusercontent.com/u/3878593?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3878593?s=400&v=4
og:image:altChecklist Issue number for this PR: #362 Docs included?: yes Test units included?: yes e2e tests included?: no In a clean directory, npm install, npm run build, and npm test run successfully? yes ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angularfire git https://github.com/angular/angularfire.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49453413
octolytics-dimension-repository_nwoangular/angularfire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49453413
octolytics-dimension-repository_network_root_nwoangular/angularfire
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angularfire/pull/821/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F821%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangularfire%2Fpull%2F821%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangularfire
Reloadhttps://github.com/angular/angularfire/pull/821/files
Reloadhttps://github.com/angular/angularfire/pull/821/files
Reloadhttps://github.com/angular/angularfire/pull/821/files
Please reload this pagehttps://github.com/angular/angularfire/pull/821/files
angular https://github.com/angular
angularfirehttps://github.com/angular/angularfire
Notifications https://github.com/login?return_to=%2Fangular%2Fangularfire
Fork 2.2k https://github.com/login?return_to=%2Fangular%2Fangularfire
Star 7.8k https://github.com/login?return_to=%2Fangular%2Fangularfire
Code https://github.com/angular/angularfire
Issues 294 https://github.com/angular/angularfire/issues
Pull requests 21 https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality 0 https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Code https://github.com/angular/angularfire
Issues https://github.com/angular/angularfire/issues
Pull requests https://github.com/angular/angularfire/pulls
Discussions https://github.com/angular/angularfire/discussions
Actions https://github.com/angular/angularfire/actions
Projects https://github.com/angular/angularfire/projects
Security and quality https://github.com/angular/angularfire/security
Insights https://github.com/angular/angularfire/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangularfire%2Fissues%2Fnew%2Fchoose
davideasthttps://github.com/davideast
angular:masterhttps://github.com/angular/angularfire/tree/master
cartant:issue-362https://github.com/cartant/angularfire/tree/issue-362
Conversation 1 https://github.com/angular/angularfire/pull/821
Commits 2 https://github.com/angular/angularfire/pull/821/commits
Checks 0 https://github.com/angular/angularfire/pull/821/checks
Files changed https://github.com/angular/angularfire/pull/821/files
Please reload this pagehttps://github.com/angular/angularfire/pull/821/files
feat(database): support the optional startAt key https://github.com/angular/angularfire/pull/821/files#top
Show all changes 2 commits https://github.com/angular/angularfire/pull/821/files
ae742e8 feat(database): support the optional startAt key cartant Feb 11, 2017 https://github.com/angular/angularfire/pull/821/commits/ae742e86d7cced7278828e99129cabe8b35c3b12
1280e74 Merge branch 'master' into issue-362 davideast Feb 15, 2017 https://github.com/angular/angularfire/pull/821/commits/1280e74514957bcaabc0fab1e0fcb76716f05d94
Clear filters https://github.com/angular/angularfire/pull/821/files
Please reload this pagehttps://github.com/angular/angularfire/pull/821/files
Please reload this pagehttps://github.com/angular/angularfire/pull/821/files
4-querying-lists.md https://github.com/angular/angularfire/pull/821/files#diff-14cfb0957442a1031db8dec4a2100e306118a711e7372a9b0680ff3a7705fcff
firebase_list_factory.spec.ts https://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
firebase_list_factory.ts https://github.com/angular/angularfire/pull/821/files#diff-12e0d2dbc77e95a0ca430c24be44b4dd90d7056d11a5472c634012eb2ca81e06
docs/4-querying-lists.mdhttps://github.com/angular/angularfire/pull/821/files#diff-14cfb0957442a1031db8dec4a2100e306118a711e7372a9b0680ff3a7705fcff
View file https://github.com/cartant/angularfire/blob/1280e74514957bcaabc0fab1e0fcb76716f05d94/docs/4-querying-lists.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/821/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/821/files#diff-14cfb0957442a1031db8dec4a2100e306118a711e7372a9b0680ff3a7705fcff
https://github.com/angular/angularfire/pull/821/files#diff-14cfb0957442a1031db8dec4a2100e306118a711e7372a9b0680ff3a7705fcff
src/database/firebase_list_factory.spec.tshttps://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
View file https://github.com/cartant/angularfire/blob/1280e74514957bcaabc0fab1e0fcb76716f05d94/src/database/firebase_list_factory.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/821/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
https://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
https://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
https://github.com/angular/angularfire/pull/821/files#diff-27f9535eb7d022ed814cd52b2035697a1a6faf39f9810bcd7f5a865814fd6d0e
src/database/firebase_list_factory.tshttps://github.com/angular/angularfire/pull/821/files#diff-12e0d2dbc77e95a0ca430c24be44b4dd90d7056d11a5472c634012eb2ca81e06
View file https://github.com/cartant/angularfire/blob/1280e74514957bcaabc0fab1e0fcb76716f05d94/src/database/firebase_list_factory.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angularfire/pull/821/{{ revealButtonHref }}
https://github.com/angular/angularfire/pull/821/files#diff-12e0d2dbc77e95a0ca430c24be44b4dd90d7056d11a5472c634012eb2ca81e06
https://github.com/angular/angularfire/pull/821/files#diff-12e0d2dbc77e95a0ca430c24be44b4dd90d7056d11a5472c634012eb2ca81e06
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.