From c7e59438ade399d8c11e9b41b7daeb84a5b22364 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sun, 21 Aug 2022 18:51:20 +0200 Subject: [PATCH] =?UTF-8?q?bugfix=20missing=20static=20in=20ModelProxies?= =?UTF-8?q?=20=F0=9F=98=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/orm/tiny/modelproxies.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */