Add new methods to DbConnection class

This commit is contained in:
Alex Cabal 2024-05-13 15:10:51 -05:00
parent acb6b2949f
commit 52e177b886
3 changed files with 246 additions and 111 deletions

View file

@ -175,7 +175,7 @@ class Library{
*/
public static function FilterArtwork(string $query = null, string $status = null, ArtworkSort $sort = null, int $submitterUserId = null, int $page = 1, int $perPage = ARTWORK_PER_PAGE): array{
// Returns an array of:
// ['artworks'] => Array<Artwork>,
// ['artworks'] => array<Artwork>,
// ['artworksCount'] => int
//
// $status is either the string value of an ArtworkStatus enum, or one of these special statuses: