You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto w = makeWhere(updateStatement.getStatement(),
operators::and_(operators::eq(fSecId), operators::eq(fTabId), operators::eq(fRound),
operators::eq(fMoment)));
updateStatement.where(w);
updateStatement.prepare();`
seems like prepare(...) throws due to missing the SET part.
This is the error I get
syntax error near WHERE: UPDATE tableName SET WHERE...
The text was updated successfully, but these errors were encountered:
The following piece of code fails.
`auto updateStatement = makeUpdateStatement2(p->db, tableName,
fPairNS,
fPairEW, fNorth, fSouth, fEast, fWest,
fTeamNS, fTeamEW, fToSecId, fToTabId, fToRound
);
}`
instead the following works correctly:
` // updateStatement.attach(p->db, tableName);
seems like prepare(...) throws due to missing the SET part.
This is the error I get
syntax error near WHERE: UPDATE tableName SET WHERE...
The text was updated successfully, but these errors were encountered: