Добавляем так же в вывод связанную информацию

This commit is contained in:
2025-08-10 10:44:39 +05:00
parent b993116e09
commit 78b01bc0b1
6 changed files with 175 additions and 16 deletions

View File

@@ -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;