we should be able to query the database, either by leveraging existing APIs, or writing our own helpers.
if we can leverage existing APIs it should just be nice to write a dev doc / link resources on how we could do this.
possible queries should be very flexible, for example if we wanted to search, 'all entries with aliases starting with 'ye' sorted by most to least used', that should be possible.
need to search by alias, and by tags.
alias search may be partial substrings matches, but tags must be a direct match.
i.e. searching for all entries with the tag 'funny' should only return entries tagged 'funny'. not 'fun', not 'funnys'.
should be able to search by multiple criteria, using AND or OR.
database queries should return a list of MediaEntries (see #17)
we should be able to query the database, either by leveraging existing APIs, or writing our own helpers. if we can leverage existing APIs it should just be nice to write a dev doc / link resources on how we could do this.
possible queries should be very flexible, for example if we wanted to search, 'all entries with aliases starting with 'ye' sorted by most to least used', that should be possible.
need to search by alias, and by tags.
alias search may be partial substrings matches, but tags must be a direct match.
i.e. searching for all entries with the tag 'funny' should only return entries tagged 'funny'. not 'fun', not 'funnys'.
should be able to search by multiple criteria, using AND or OR.
database queries should return a list of MediaEntries (see #17)