Добавляем так же в вывод связанную информацию
This commit is contained in:
@@ -29,7 +29,8 @@ public:
|
||||
void remove(int id);
|
||||
|
||||
// Найти книги по автору
|
||||
QVector<Book_S> findByAuthor(const QString& author);
|
||||
QVector<Book_S> findByAuthor(const QString& authorName);
|
||||
QVector<Book_S> findByAuthor(const int& authorId);
|
||||
|
||||
private:
|
||||
odb::core::database& m_db;
|
||||
|
||||
Reference in New Issue
Block a user