Methods
author
- author(authorId: string): Promise<Author>
-
Parameters
Returns Promise<Author>
authors
- authors(): Promise<(Author & Document)[]>
-
Returns Promise<(Author & Document)[]>
books
- books(author: Partial<Author>): DocumentQuery<(Book & Document)[], Book & Document, __type>
-
Parameters
Returns DocumentQuery<(Book & Document)[], Book & Document, __type>
createAuthor
-
Parameters
Returns Promise<Author & Document>