void User::SaveField(const std::string& field, bool updateLog) const { NoErrorConnection conn; conn.SetField("users", QUERY("uid" << user.id), user, field); if (updateLog) UpdateLog(); }