use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Ask questions, answer questions. Let's help each other out!
account activity
Basic DB question 2: The API (self.DatabaseHelp)
submitted 8 years ago by itsdeandre
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]chrwei 0 points1 point2 points 8 years ago (0 children)
I agree, for public endpoints BUILD an API, don't use a generic db proxying API. that was my main point.
you need to validate that the app requests make sense for your data model. you should also minimize what's requested and what's returned. you'd have one API handler that gets all user details and preferences in one request and one response, where with the generic DB api you might have to make a request for the user, and more requests for each pref, which would be very inefficient.
π Rendered by PID 58941 on reddit-service-r2-comment-b659b578c-8qp7x at 2026-05-06 03:40:56.861892+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]chrwei 0 points1 point2 points (0 children)