Skip to content

Commit

Permalink
bugfix missing static in ModelProxies 😮
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 21, 2022
1 parent 836da9b commit c7e5943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/orm/tiny/modelproxies.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ namespace Tiny
static Derived create(QVector<AttributeItem> &&attributes = {});

/*! Create or update a record matching the attributes, and fill it with values. */
Derived updateOrCreate(const QVector<WhereItem> &attributes,
const QVector<AttributeItem> &values = {});
static Derived updateOrCreate(const QVector<WhereItem> &attributes,
const QVector<AttributeItem> &values = {});

/* Proxies to TinyBuilder -> QueryBuilder */
/* Insert, Update, Delete */
Expand Down

0 comments on commit c7e5943

Please sign in to comment.