diff --git a/include/orm/tiny/modelproxies.hpp b/include/orm/tiny/modelproxies.hpp index 427b05a58..e08581911 100644 --- a/include/orm/tiny/modelproxies.hpp +++ b/include/orm/tiny/modelproxies.hpp @@ -175,8 +175,8 @@ namespace Tiny static Derived create(QVector &&attributes = {}); /*! Create or update a record matching the attributes, and fill it with values. */ - Derived updateOrCreate(const QVector &attributes, - const QVector &values = {}); + static Derived updateOrCreate(const QVector &attributes, + const QVector &values = {}); /* Proxies to TinyBuilder -> QueryBuilder */ /* Insert, Update, Delete */