From 8cb56837f5424182353d32081739b09e8daee7a3 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 5 Aug 2025 00:09:46 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B0=D1=80=D0=B0=20=D0=BA=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D0=BE=D0=BC=D0=BD=D1=8B=D1=85=20=D0=BA=D0=BD=D0=B8=D0=B6?= =?UTF-8?q?=D0=B5=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 769cba3..971d54c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,6 +40,8 @@ void fillBooksBD(uDBase& db) Author_S("Isaac Asimov", "ru"), }; + addBook(*db, "Очень странная книжка", { "Автор 1", "Автор 2", "Авторк 3" }); + addBook(*db, "1984", { authors[0].fullName() }); addBook(*db, "Harry Potter and the Philosopher's Stone", { authors[1].fullName() }); addBook(*db, "The Hobbit", { authors[2].fullName() }); @@ -94,6 +96,8 @@ void fillBooksBD(uDBase& db) addBook(*db, "1984", { "George Orwell" }); addBook(*db, "Harry Potter and the Philosopher's Stone", { "J.K. Rowling" }); + addBook(*db, "Очень странная книжка 2", { "Автор 4", "Авторк 3" }); + std::cout << "Test data added successfully." << std::endl; } catch (const odb::exception& e)