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