4 ms·
Not contradicting, just adding that GCP (Datastore) has had cursors for at least 8 years. When I came across that using App Engine many years ago I really liked
by graderjs 6y ago
Not contradicting, just adding that GCP (Datastore) has had cursors for at least 8 years. When I came across that using App Engine many years ago I really liked the cursor thing, and it stuck with me. I found it a little funny this article sounded a bit like "Here's this new thing"
- knorker 6y agoIt's definitely not new, but worth repeating. But yes, I'm surprised it would show up on hackerNEWS.
- boulos 6y agoOh, but that’s an “API” for a Database. So that’s a fine exception to “you should offer cursors”, since that’s what you actually intend to present. A more generic API that happens to be backed by a database with a list of things in it, should not reflect the underlying database decisions if it can help it.
- graderjs 6y agoIt seems to me you might have meant to reply to another comment. This is not an "exception to 'you should offer cursors'" this is offering cursors.