From f064fc30e5e2cd96a96d0267cfa026d9ab4b1999 Mon Sep 17 00:00:00 2001 From: zhenhua-li <48681559+zhenhua-li@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:40:40 +0800 Subject: [PATCH] Correction of Spelling Error: "conditon" to "condition" his pull request aims to correct a spelling error in the codebase, specifically the word "conditon" which should be "condition". The change is minimal and will not affect the functionality of the code. --- include/dbng.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/dbng.hpp b/include/dbng.hpp index fc1be5e5..eaa7d41b 100644 --- a/include/dbng.hpp +++ b/include/dbng.hpp @@ -74,9 +74,9 @@ class dbng { } template - bool delete_records(Args &&...where_conditon) { + bool delete_records(Args &&...where_condition) { return db_.template delete_records( - std::forward(where_conditon)...); + std::forward(where_condition)...); } // restriction, all the args are string, the first is the where condition, @@ -229,4 +229,4 @@ class dbng { }; } // namespace ormpp -#endif // ORM_DBNG_HPP \ No newline at end of file +#endif // ORM_DBNG_HPP