Methods
createBook
- createBook(book: any): Promise<Book & Document>
-
Parameters
Returns Promise<Book & Document>
findByAuthorId
- findByAuthorId(id: string): DocumentQuery<(Book & Document)[], Book & Document, __type>
-
Parameters
Returns DocumentQuery<(Book & Document)[], Book & Document, __type>
findByIds
- findByIds(ids: any[]): Promise<(Book & Document)[]>
-
Parameters
Returns Promise<(Book & Document)[]>
getAllBooks
- getAllBooks(): Promise<(Book & Document)[]>
-
Returns Promise<(Book & Document)[]>
getBook
- getBook(id: any): Promise<Book & Document>
-
Parameters
Returns Promise<Book & Document>
getBookByISBN
- getBookByISBN(isbn: any): Promise<Book & Document>
-
Parameters
Returns Promise<Book & Document>